toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case CreateUserErrorCode.occupied:
return 'err_login_occupied'.l10n;
case CreateUserErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
}
}