toReplicationTimeStatus method

ReplicationTimeStatus toReplicationTimeStatus()

Implementation

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