toPermissionModels method

PermissionModels toPermissionModels()

Implementation

PermissionModels toPermissionModels() {
  switch (this) {
    case 'SERVICE_MANAGED':
      return PermissionModels.serviceManaged;
    case 'SELF_MANAGED':
      return PermissionModels.selfManaged;
  }
  throw Exception('$this is not known in enum PermissionModels');
}