ComponentSetNode constructor

ComponentSetNode({
  1. String? type,
  2. ComponentNode? defaultVariant,
  3. Object? variantGroupProperties,
  4. ComponentSetNode clone()?,
  5. Object? detachedInfo,
  6. ReadonlyArray<Object>? layoutGrids,
  7. String? gridStyleId,
  8. bool? clipsContent,
  9. ReadonlyArray<Guide>? guides,
  10. InferredAutoLayoutResult? inferredAutoLayout,
  11. Future<void> setGridStyleIdAsync(
    1. String
    )?,
  12. String? description,
  13. String? descriptionMarkdown,
  14. ReadonlyArray<DocumentationLink>? documentationLinks,
  15. bool? remote,
  16. String? key,
  17. Future<PublishStatus> getPublishStatusAsync()?,
  18. Object? componentPropertyDefinitions,
  19. String addComponentProperty(
    1. String,
    2. ComponentPropertyType,
    3. Object, [
    4. ComponentPropertyOptions?,
    ])?,
  20. String editComponentProperty(
    1. String,
    2. dynamic
    )?,
  21. void deleteComponentProperty(
    1. String
    )?,
})

Implementation

factory ComponentSetNode({
  _i2.String? type,
  _i3.ComponentNode? defaultVariant,
  _i2.Object? variantGroupProperties,
  _i3.ComponentSetNode Function()? clone,
  _i2.Object? detachedInfo,
  _i4.ReadonlyArray<_i2.Object>? layoutGrids,
  _i2.String? gridStyleId,
  _i2.bool? clipsContent,
  _i4.ReadonlyArray<_i3.Guide>? guides,
  _i3.InferredAutoLayoutResult? inferredAutoLayout,
  _i2.Future<void> Function(_i2.String)? setGridStyleIdAsync,
  _i2.String? description,
  _i2.String? descriptionMarkdown,
  _i4.ReadonlyArray<_i3.DocumentationLink>? documentationLinks,
  _i2.bool? remote,
  _i2.String? key,
  _i2.Future<_i3.PublishStatus> Function()? getPublishStatusAsync,
  _i2.Object? componentPropertyDefinitions,
  _i2.String Function(
    _i2.String,
    _i3.ComponentPropertyType,
    _i2.Object, [
    _i3.ComponentPropertyOptions?,
  ])? addComponentProperty,
  _i2.String Function(
    _i2.String,
    _i2.dynamic,
  )? editComponentProperty,
  void Function(_i2.String)? deleteComponentProperty,
}) =>
    ComponentSetNode._(
      type: type,
      defaultVariant: defaultVariant ?? _i7.undefined,
      variantGroupProperties: variantGroupProperties ?? _i7.undefined,
      clone: clone == null ? null : _i5.allowInterop(clone),
      detachedInfo: detachedInfo ?? _i7.undefined ?? _i7.undefined,
      layoutGrids: layoutGrids ?? _i7.undefined,
      gridStyleId: gridStyleId,
      clipsContent: clipsContent,
      guides: guides ?? _i7.undefined,
      inferredAutoLayout: inferredAutoLayout ?? _i7.undefined,
      setGridStyleIdAsync: setGridStyleIdAsync == null
          ? null
          : _i5.allowInterop(setGridStyleIdAsync),
      description: description,
      descriptionMarkdown: descriptionMarkdown,
      documentationLinks: documentationLinks ?? _i7.undefined,
      remote: remote,
      key: key,
      getPublishStatusAsync: getPublishStatusAsync == null
          ? null
          : _i5.allowInterop(getPublishStatusAsync),
      componentPropertyDefinitions:
          componentPropertyDefinitions ?? _i7.undefined,
      addComponentProperty: addComponentProperty == null
          ? null
          : _i5.allowInterop(addComponentProperty),
      editComponentProperty: editComponentProperty == null
          ? null
          : _i5.allowInterop(editComponentProperty),
      deleteComponentProperty: deleteComponentProperty == null
          ? null
          : _i5.allowInterop(deleteComponentProperty),
    );