toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case LeaveChatCallErrorCode.unknownChat:
return 'err_unknown_chat'.l10n;
case LeaveChatCallErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
case LeaveChatCallErrorCode.unknownDevice:
return 'err_unknown_device'.l10n;
}
}