ListFragmentsRequest constructor

ListFragmentsRequest({
  1. String? organizationId,
  2. bool? showPublic,
  3. Iterable<FragmentVisibility>? fragmentVisibility,
})

Implementation

factory ListFragmentsRequest({
  $core.String? organizationId,
  $core.bool? showPublic,
  $core.Iterable<FragmentVisibility>? fragmentVisibility,
}) {
  final $result = create();
  if (organizationId != null) {
    $result.organizationId = organizationId;
  }
  if (showPublic != null) {
    $result.showPublic = showPublic;
  }
  if (fragmentVisibility != null) {
    $result.fragmentVisibility.addAll(fragmentVisibility);
  }
  return $result;
}