toReplicaModificationsStatus method

ReplicaModificationsStatus toReplicaModificationsStatus()

Implementation

ReplicaModificationsStatus toReplicaModificationsStatus() {
  switch (this) {
    case 'Enabled':
      return ReplicaModificationsStatus.enabled;
    case 'Disabled':
      return ReplicaModificationsStatus.disabled;
  }
  throw Exception('$this is not known in enum ReplicaModificationsStatus');
}