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