GroupNode constructor

GroupNode({
  1. String? type,
  2. GroupNode clone()?,
  3. String? id,
  4. _Intersection7? parent,
  5. String? name,
  6. bool? removed,
  7. bool? isAsset,
  8. String toString$()?,
  9. void remove()?,
  10. void setRelaunchData(
    1. Object
    )?,
  11. Object getRelaunchData()?,
  12. Future<Object> getCSSAsync()?,
  13. FrameNode? getTopLevelFrame()?,
  14. bool? visible,
  15. bool? locked,
  16. List<SceneNode>? stuckNodes,
  17. List<ConnectorNode>? attachedConnectors,
  18. dynamic componentPropertyReferences,
  19. _Intersection8? boundVariables,
  20. _Intersection9? inferredVariables,
  21. Object? resolvedVariableModes,
  22. ReadonlyArray<Reaction>? reactions,
  23. Future<void> setReactionsAsync(
    1. Array<Reaction>
    )?,
  24. ReadonlyArray<SceneNode>? children,
  25. void appendChild(
    1. SceneNode
    )?,
  26. void insertChild(
    1. num,
    2. SceneNode
    )?,
  27. List<SceneNode> findChildren([
    1. bool (
      1. SceneNode
      )?
    ])?,
  28. SceneNode? findChild(
    1. bool (
      1. SceneNode
      )
    )?,
  29. List<SceneNode> findAll([
    1. bool (
      1. SceneNode
      )?
    ])?,
  30. SceneNode? findOne(
    1. bool (
      1. SceneNode
      )
    )?,
  31. Array<Object> findAllWithCriteria<T extends List>(
    1. FindAllCriteria<T>
    )?,
  32. Array<WidgetNode> findWidgetNodesByWidgetId(
    1. String
    )?,
  33. bool? expanded,
  34. ReadonlyArray<Object>? backgrounds,
  35. String? backgroundStyleId,
  36. bool? isMask,
  37. MaskType? maskType,
  38. ReadonlyArray<Object>? effects,
  39. String? effectStyleId,
  40. Future<void> setEffectStyleIdAsync(
    1. String
    )?,
  41. Rect? absoluteRenderBounds,
  42. bool? constrainProportions,
  43. num? rotation,
  44. LayoutSizingHorizontal? layoutSizingHorizontal,
  45. LayoutSizingVertical? layoutSizingVertical,
  46. void resize(
    1. num,
    2. num
    )?,
  47. void resizeWithoutConstraints(
    1. num,
    2. num
    )?,
  48. void rescale(
    1. num
    )?,
  49. ReadonlyArray<Object>? exportSettings,
  50. Vector? targetAspectRatio,
  51. void lockAspectRatio()?,
  52. void unlockAspectRatio()?,
})

Implementation

factory GroupNode({
  _i2.String? type,
  _i3.GroupNode Function()? clone,
  _i2.String? id,
  _Intersection7? parent,
  _i2.String? name,
  _i2.bool? removed,
  _i2.bool? isAsset,
  _i2.String Function()? toString$,
  void Function()? remove,
  void Function(_i2.Object)? setRelaunchData,
  _i2.Object Function()? getRelaunchData,
  _i2.Future<_i2.Object> Function()? getCSSAsync,
  _i3.FrameNode? Function()? getTopLevelFrame,
  _i2.bool? visible,
  _i2.bool? locked,
  _i2.List<_i3.SceneNode>? stuckNodes,
  _i2.List<_i3.ConnectorNode>? attachedConnectors,
  _i2.dynamic componentPropertyReferences,
  _Intersection8? boundVariables,
  _Intersection9? inferredVariables,
  _i2.Object? resolvedVariableModes,
  _i4.ReadonlyArray<_i3.Reaction>? reactions,
  _i2.Future<void> Function(_i4.Array<_i3.Reaction>)? setReactionsAsync,
  _i4.ReadonlyArray<_i3.SceneNode>? children,
  void Function(_i3.SceneNode)? appendChild,
  void Function(
    _i2.num,
    _i3.SceneNode,
  )? insertChild,
  _i2.List<_i3.SceneNode> Function([_i2.bool Function(_i3.SceneNode)?])?
      findChildren,
  _i3.SceneNode? Function(_i2.bool Function(_i3.SceneNode))? findChild,
  _i2.List<_i3.SceneNode> Function([_i2.bool Function(_i3.SceneNode)?])?
      findAll,
  _i3.SceneNode? Function(_i2.bool Function(_i3.SceneNode))? findOne,
  _i4.Array<_i2.Object> Function<T extends _i2.List<_i2.dynamic>>(
          _i3.FindAllCriteria<T>)?
      findAllWithCriteria,
  _i4.Array<_i3.WidgetNode> Function(_i2.String)? findWidgetNodesByWidgetId,
  _i2.bool? expanded,
  _i4.ReadonlyArray<_i2.Object>? backgrounds,
  _i2.String? backgroundStyleId,
  _i2.bool? isMask,
  _i3.MaskType? maskType,
  _i4.ReadonlyArray<_i2.Object>? effects,
  _i2.String? effectStyleId,
  _i2.Future<void> Function(_i2.String)? setEffectStyleIdAsync,
  _i3.Rect? absoluteRenderBounds,
  _i2.bool? constrainProportions,
  _i2.num? rotation,
  _i3.LayoutSizingHorizontal? layoutSizingHorizontal,
  _i3.LayoutSizingVertical? layoutSizingVertical,
  void Function(
    _i2.num,
    _i2.num,
  )? resize,
  void Function(
    _i2.num,
    _i2.num,
  )? resizeWithoutConstraints,
  void Function(_i2.num)? rescale,
  _i4.ReadonlyArray<_i2.Object>? exportSettings,
  _i3.Vector? targetAspectRatio,
  void Function()? lockAspectRatio,
  void Function()? unlockAspectRatio,
}) =>
    GroupNode._(
      type: type,
      clone: clone == null ? null : _i5.allowInterop(clone),
      id: id,
      parent: parent ?? _i7.undefined,
      name: name,
      removed: removed,
      isAsset: isAsset,
      toString$: toString$ == null ? null : _i5.allowInterop(toString$),
      remove: remove == null ? null : _i5.allowInterop(remove),
      setRelaunchData:
          setRelaunchData == null ? null : _i5.allowInterop(setRelaunchData),
      getRelaunchData:
          getRelaunchData == null ? null : _i5.allowInterop(getRelaunchData),
      getCSSAsync: getCSSAsync == null ? null : _i5.allowInterop(getCSSAsync),
      getTopLevelFrame: getTopLevelFrame == null
          ? null
          : _i5.allowInterop(() => () => getTopLevelFrame() ?? _i7.undefined),
      visible: visible,
      locked: locked,
      stuckNodes: stuckNodes,
      attachedConnectors: attachedConnectors,
      componentPropertyReferences: componentPropertyReferences,
      boundVariables: boundVariables ?? _i7.undefined,
      inferredVariables: inferredVariables ?? _i7.undefined,
      resolvedVariableModes: resolvedVariableModes ?? _i7.undefined,
      reactions: reactions ?? _i7.undefined,
      setReactionsAsync: setReactionsAsync == null
          ? null
          : _i5.allowInterop(setReactionsAsync),
      children: children ?? _i7.undefined,
      appendChild: appendChild == null ? null : _i5.allowInterop(appendChild),
      insertChild: insertChild == null ? null : _i5.allowInterop(insertChild),
      findChildren:
          findChildren == null ? null : _i5.allowInterop(findChildren),
      findChild: findChild == null
          ? null
          : _i5.allowInterop(
              (p0) => () => findChild(p0) ?? _i7.undefined ?? _i7.undefined),
      findAll: findAll == null ? null : _i5.allowInterop(findAll),
      findOne: findOne == null
          ? null
          : _i5.allowInterop(
              (p0) => () => findOne(p0) ?? _i7.undefined ?? _i7.undefined),
      findAllWithCriteria: findAllWithCriteria == null
          ? null
          : _i5.allowInterop(findAllWithCriteria),
      findWidgetNodesByWidgetId: findWidgetNodesByWidgetId == null
          ? null
          : _i5.allowInterop(findWidgetNodesByWidgetId),
      expanded: expanded,
      backgrounds: backgrounds ?? _i7.undefined,
      backgroundStyleId: backgroundStyleId,
      isMask: isMask,
      maskType: maskType?.name ?? _i7.undefined,
      effects: effects ?? _i7.undefined,
      effectStyleId: effectStyleId,
      setEffectStyleIdAsync: setEffectStyleIdAsync == null
          ? null
          : _i5.allowInterop(setEffectStyleIdAsync),
      absoluteRenderBounds: absoluteRenderBounds ?? _i7.undefined,
      constrainProportions: constrainProportions,
      rotation: rotation,
      layoutSizingHorizontal: layoutSizingHorizontal?.name ?? _i7.undefined,
      layoutSizingVertical: layoutSizingVertical?.name ?? _i7.undefined,
      resize: resize == null ? null : _i5.allowInterop(resize),
      resizeWithoutConstraints: resizeWithoutConstraints == null
          ? null
          : _i5.allowInterop(resizeWithoutConstraints),
      rescale: rescale == null ? null : _i5.allowInterop(rescale),
      exportSettings: exportSettings ?? _i7.undefined,
      targetAspectRatio: targetAspectRatio ?? _i7.undefined,
      lockAspectRatio:
          lockAspectRatio == null ? null : _i5.allowInterop(lockAspectRatio),
      unlockAspectRatio: unlockAspectRatio == null
          ? null
          : _i5.allowInterop(unlockAspectRatio),
    );