toDataSourceStatus method
Implementation
DataSourceStatus toDataSourceStatus() {
switch (this) {
case 'ENABLED':
return DataSourceStatus.enabled;
case 'DISABLED':
return DataSourceStatus.disabled;
}
throw Exception('$this is not known in enum DataSourceStatus');
}