toSchemaStatus method
Implementation
SchemaStatus toSchemaStatus() {
switch (this) {
case 'PROCESSING':
return SchemaStatus.processing;
case 'ACTIVE':
return SchemaStatus.active;
case 'DELETING':
return SchemaStatus.deleting;
case 'FAILED':
return SchemaStatus.failed;
case 'SUCCESS':
return SchemaStatus.success;
case 'NOT_APPLICABLE':
return SchemaStatus.notApplicable;
}
throw Exception('$this is not known in enum SchemaStatus');
}