PermissionsType_CachePermissions constructor

PermissionsType_CachePermissions({
  1. CacheRole? role,
  2. PermissionsType_All? allCaches,
  3. PermissionsType_CacheSelector? cacheSelector,
  4. PermissionsType_All? allItems,
  5. PermissionsType_CacheItemSelector? itemSelector,
})

Implementation

factory PermissionsType_CachePermissions({
  CacheRole? role,
  PermissionsType_All? allCaches,
  PermissionsType_CacheSelector? cacheSelector,
  PermissionsType_All? allItems,
  PermissionsType_CacheItemSelector? itemSelector,
}) {
  final $result = create();
  if (role != null) {
    $result.role = role;
  }
  if (allCaches != null) {
    $result.allCaches = allCaches;
  }
  if (cacheSelector != null) {
    $result.cacheSelector = cacheSelector;
  }
  if (allItems != null) {
    $result.allItems = allItems;
  }
  if (itemSelector != null) {
    $result.itemSelector = itemSelector;
  }
  return $result;
}