toMessage method

  1. @override
String toMessage()
override

Implementation

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