ListMachineFragmentsResponse constructor

ListMachineFragmentsResponse({
  1. Iterable<Fragment>? fragments,
  2. Iterable<ResolvedFragment>? resolvedFragments,
})

Implementation

factory ListMachineFragmentsResponse({
  $core.Iterable<Fragment>? fragments,
  $core.Iterable<ResolvedFragment>? resolvedFragments,
}) {
  final $result = create();
  if (fragments != null) {
    $result.fragments.addAll(fragments);
  }
  if (resolvedFragments != null) {
    $result.resolvedFragments.addAll(resolvedFragments);
  }
  return $result;
}