toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case CreateGroupChatErrorCode.unknownUser:
return 'err_unknown_user'.l10n;
case CreateGroupChatErrorCode.wrongMembersCount:
return 'err_wrong_members_count'.l10n;
case CreateGroupChatErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
case CreateGroupChatErrorCode.blocked:
return 'err_blocked_by_multiple'.l10n;
}
}