toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case ReadChatErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
case ReadChatErrorCode.unknownChat:
return 'err_unknown_chat'.l10n;
case ReadChatErrorCode.unknownChatItem:
return 'err_unknown_chat_item'.l10n;
}
}