toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case UnfavoriteChatContactErrorCode.unknownChatContact:
return 'err_unknown_chat'.l10n;
case UnfavoriteChatContactErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
}
}