Restrictions constructor

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;
}