PermissionsType_CachePermissions constructor
PermissionsType_CachePermissions({
- CacheRole? role,
- PermissionsType_All? allCaches,
- PermissionsType_CacheSelector? cacheSelector,
- PermissionsType_All? allItems,
- 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;
}