toSchemaStatus method
Implementation
SchemaStatus toSchemaStatus() {
switch (this) {
case 'AVAILABLE':
return SchemaStatus.available;
case 'PENDING':
return SchemaStatus.pending;
case 'DELETING':
return SchemaStatus.deleting;
}
throw Exception('$this is not known in enum SchemaStatus');
}