fromJSON static method
Implementation
static UsersStatus fromJSON(String data) {
switch (data) {
case "ACTIVE":
return UsersStatus.active;
case "DISABLED":
return UsersStatus.disabled;
case "REGISTERING":
return UsersStatus.registering;
default:
throw ArgumentError('Invalid UsersStatus entry value $data');
}
}