encode method

  1. @override
dynamic encode(
  1. RegistrationDeliveryEnums self
)

Implementation

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