toSourceType method

SourceType toSourceType()

Implementation

SourceType toSourceType() {
  switch (this) {
    case 'replication-instance':
      return SourceType.replicationInstance;
  }
  throw Exception('$this is not known in enum SourceType');
}