toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case BlockUserErrorCode.unknownUser:
return 'err_unknown_user'.l10n;
case BlockUserErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
}
}