toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case ToggleMyUserMuteErrorCode.tooShort:
return 'err_too_short'.l10n;
case ToggleMyUserMuteErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
}
}