toModel method
Constructs a new MuteDuration from this Muting.
Implementation
MuteDuration toModel() {
if (duration == null) {
return MuteDuration.forever();
}
return MuteDuration.until(duration!);
}
Constructs a new MuteDuration from this Muting.
MuteDuration toModel() {
if (duration == null) {
return MuteDuration.forever();
}
return MuteDuration.until(duration!);
}