convertToPitelRegistrationStateEnum method

PitelRegistrationStateEnum convertToPitelRegistrationStateEnum()

Implementation

PitelRegistrationStateEnum convertToPitelRegistrationStateEnum() {
  switch (this) {
    case RegistrationStateEnum.none:
      return PitelRegistrationStateEnum.none;
    case RegistrationStateEnum.registered:
      return PitelRegistrationStateEnum.registered;
    case RegistrationStateEnum.registrationFailed:
      return PitelRegistrationStateEnum.registrationFailed;
    case RegistrationStateEnum.unregistered:
      return PitelRegistrationStateEnum.unregistered;
  }
}