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