CollectionRules constructor
CollectionRules({
- RuleCondition? creat,
- RuleCondition? read,
- RuleCondition? update,
- RuleCondition? delete,
- bool? isPublic,
- bool? isExcluded,
- bool? deleteWhenUserIsDeleted,
Implementation
factory CollectionRules({
RuleCondition? creat,
RuleCondition? read,
RuleCondition? update,
RuleCondition? delete,
$core.bool? isPublic,
$core.bool? isExcluded,
$core.bool? deleteWhenUserIsDeleted,
}) {
final result = create();
if (creat != null) result.creat = creat;
if (read != null) result.read = read;
if (update != null) result.update = update;
if (delete != null) result.delete = delete;
if (isPublic != null) result.isPublic = isPublic;
if (isExcluded != null) result.isExcluded = isExcluded;
if (deleteWhenUserIsDeleted != null)
result.deleteWhenUserIsDeleted = deleteWhenUserIsDeleted;
return result;
}