toProvisionedProductStatus method
Implementation
ProvisionedProductStatus toProvisionedProductStatus() {
switch (this) {
case 'AVAILABLE':
return ProvisionedProductStatus.available;
case 'UNDER_CHANGE':
return ProvisionedProductStatus.underChange;
case 'TAINTED':
return ProvisionedProductStatus.tainted;
case 'ERROR':
return ProvisionedProductStatus.error;
case 'PLAN_IN_PROGRESS':
return ProvisionedProductStatus.planInProgress;
}
throw Exception('$this is not known in enum ProvisionedProductStatus');
}