ComponentSetNode constructor
ComponentSetNode({
- String? type,
- ComponentNode? defaultVariant,
- Object? variantGroupProperties,
- ComponentSetNode clone()?,
- Object? detachedInfo,
- ReadonlyArray<
Object> ? layoutGrids, - String? gridStyleId,
- bool? clipsContent,
- ReadonlyArray<
Guide> ? guides, - InferredAutoLayoutResult? inferredAutoLayout,
- Future<
void> setGridStyleIdAsync()?, - String? description,
- String? descriptionMarkdown,
- ReadonlyArray<
DocumentationLink> ? documentationLinks, - bool? remote,
- String? key,
- Future<
PublishStatus> getPublishStatusAsync()?, - Object? componentPropertyDefinitions,
- String addComponentProperty(])?,
- String editComponentProperty(
- String,
- dynamic
- void deleteComponentProperty()?,
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),
);