toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case DeleteMyUserErrorCode.confirmationRequired:
return 'err_confirmation_required'.l10n;
case DeleteMyUserErrorCode.wrongPassword:
return 'err_wrong_password'.l10n;
case DeleteMyUserErrorCode.wrongCode:
return 'err_wrong_code'.l10n;
case DeleteMyUserErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
}
}