toReplicationRunType method

ReplicationRunType toReplicationRunType()

Implementation

ReplicationRunType toReplicationRunType() {
  switch (this) {
    case 'ON_DEMAND':
      return ReplicationRunType.onDemand;
    case 'AUTOMATIC':
      return ReplicationRunType.automatic;
  }
  throw Exception('$this is not known in enum ReplicationRunType');
}