Restrictions constructor
Restrictions({
- Iterable<
Restrictions_ObjectRestriction> ? object, - Iterable<
Restrictions_DataviewRestrictions> ? dataview,
Implementation
factory Restrictions({
$core.Iterable<Restrictions_ObjectRestriction>? object,
$core.Iterable<Restrictions_DataviewRestrictions>? dataview,
}) {
final result = create();
if (object != null) result.object.addAll(object);
if (dataview != null) result.dataview.addAll(dataview);
return result;
}