toEntitlementStatus method
Implementation
EntitlementStatus toEntitlementStatus() {
switch (this) {
case 'ENABLED':
return EntitlementStatus.enabled;
case 'DISABLED':
return EntitlementStatus.disabled;
}
throw Exception('$this is not known in enum EntitlementStatus');
}