toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case DeleteChatForwardErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
case DeleteChatForwardErrorCode.notAuthor:
return 'err_not_author'.l10n;
case DeleteChatForwardErrorCode.quoted:
return 'err_quoted_message'.l10n;
case DeleteChatForwardErrorCode.read:
return 'err_message_was_read'.l10n;
case DeleteChatForwardErrorCode.unknownChatItem:
return 'err_unknown_chat_item'.l10n;
}
}