toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case RenameChatErrorCode.unknownChat:
return 'err_contact_unknown_chat'.l10n;
case RenameChatErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
case RenameChatErrorCode.dialog:
return 'err_dialog'.l10n;
}
}