toFeatureGroupStatus method
Implementation
FeatureGroupStatus toFeatureGroupStatus() {
switch (this) {
case 'Creating':
return FeatureGroupStatus.creating;
case 'Created':
return FeatureGroupStatus.created;
case 'CreateFailed':
return FeatureGroupStatus.createFailed;
case 'Deleting':
return FeatureGroupStatus.deleting;
case 'DeleteFailed':
return FeatureGroupStatus.deleteFailed;
}
throw Exception('$this is not known in enum FeatureGroupStatus');
}