toValue method
Implementation
String toValue() {
switch (this) {
case DataSourceStatus.creating:
return 'CREATING';
case DataSourceStatus.deleting:
return 'DELETING';
case DataSourceStatus.failed:
return 'FAILED';
case DataSourceStatus.updating:
return 'UPDATING';
case DataSourceStatus.active:
return 'ACTIVE';
}
}