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