encode method
Implementation
@override
dynamic encode(RegistrationDeliveryEnums self) {
switch (self) {
case RegistrationDeliveryEnums.name:
return "name";
case RegistrationDeliveryEnums.userName:
return "userName";
case RegistrationDeliveryEnums.iec:
return "IEC";
}
}