decode method
Implementation
@override
RegisterStatus decode(dynamic value) {
switch (value) {
case "ACTIVE":
return RegisterStatus.active;
case "INACTIVE":
return RegisterStatus.inactive;
default:
throw MapperException.unknownEnumValue(value);
}
}