toCapacityProviderStatus method
Implementation
CapacityProviderStatus toCapacityProviderStatus() {
switch (this) {
case 'ACTIVE':
return CapacityProviderStatus.active;
case 'INACTIVE':
return CapacityProviderStatus.inactive;
}
throw Exception('$this is not known in enum CapacityProviderStatus');
}