decode method
Implementation
@override
RegistrationDeliveryEnums decode(dynamic value) {
switch (value) {
case "name":
return RegistrationDeliveryEnums.name;
case "userName":
return RegistrationDeliveryEnums.userName;
case "IEC":
return RegistrationDeliveryEnums.iec;
default:
throw MapperException.unknownEnumValue(value);
}
}