toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case DeclineChatCallErrorCode.unknownChat:
return 'err_unknown_chat'.l10n;
case DeclineChatCallErrorCode.alreadyJoined:
return 'err_call_already_joined'.l10n;
case DeclineChatCallErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
}
}