toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case RemoveChatMemberErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
case RemoveChatMemberErrorCode.notGroup:
return 'err_not_group'.l10n;
case RemoveChatMemberErrorCode.unknownChat:
return 'err_unknown_chat'.l10n;
}
}