toPendingAutomaticFailoverStatus method
Implementation
PendingAutomaticFailoverStatus toPendingAutomaticFailoverStatus() {
switch (this) {
case 'enabled':
return PendingAutomaticFailoverStatus.enabled;
case 'disabled':
return PendingAutomaticFailoverStatus.disabled;
}
throw Exception(
'$this is not known in enum PendingAutomaticFailoverStatus');
}