fromJson static method
Implementation
static UserAccountStatus fromJson(String name) {
switch (name) {
case 'invited':
return UserAccountStatus.invited;
case 'registered':
return UserAccountStatus.registered;
default:
throw ArgumentError(
'Value "$name" cannot be converted to "UserAccountStatus"',
);
}
}