toAutoRegistrationStatus method

AutoRegistrationStatus toAutoRegistrationStatus()

Implementation

AutoRegistrationStatus toAutoRegistrationStatus() {
  switch (this) {
    case 'ENABLE':
      return AutoRegistrationStatus.enable;
    case 'DISABLE':
      return AutoRegistrationStatus.disable;
  }
  throw Exception('$this is not known in enum AutoRegistrationStatus');
}