toExistingObjectReplicationStatus method

ExistingObjectReplicationStatus toExistingObjectReplicationStatus()

Implementation

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