toCustomerPolicyScopeIdType method
Implementation
CustomerPolicyScopeIdType toCustomerPolicyScopeIdType() {
switch (this) {
case 'ACCOUNT':
return CustomerPolicyScopeIdType.account;
case 'ORG_UNIT':
return CustomerPolicyScopeIdType.orgUnit;
}
throw Exception('$this is not known in enum CustomerPolicyScopeIdType');
}