BaseNodeMixin constructor
BaseNodeMixin({
- String? id,
- _Intersection7? parent,
- String? name,
- bool? removed,
- bool? isAsset,
- String toString$()?,
- void remove()?,
- void setRelaunchData()?,
- Object getRelaunchData()?,
- Future<
Object> getCSSAsync()?, - FrameNode? getTopLevelFrame()?,
- String getPluginData()?,
- void setPluginData()?,
- List<
String> getPluginDataKeys()?, - Future<
List< getDevResourcesAsync([DevResourceWithNodeId> >- dynamic
- Future<
void> addDevResourceAsync(])?, - Future<
void> editDevResourceAsync(- String,
- dynamic
- Future<
void> deleteDevResourceAsync()?, - Future<
void> setDevResourcePreviewAsync()?,
Implementation
factory BaseNodeMixin({
_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.String Function(_i2.String)? getPluginData,
void Function(
_i2.String,
_i2.String,
)? setPluginData,
_i2.List<_i2.String> Function()? getPluginDataKeys,
_i2.String Function(
_i2.String,
_i2.String,
)? getSharedPluginData,
void Function(
_i2.String,
_i2.String,
_i2.String,
)? setSharedPluginData,
_i2.List<_i2.String> Function(_i2.String)? getSharedPluginDataKeys,
_i2.Future<_i2.List<_i3.DevResourceWithNodeId>> Function([_i2.dynamic])?
getDevResourcesAsync,
_i2.Future<void> Function(
_i2.String, [
_i2.String?,
])? addDevResourceAsync,
_i2.Future<void> Function(
_i2.String,
_i2.dynamic,
)? editDevResourceAsync,
_i2.Future<void> Function(_i2.String)? deleteDevResourceAsync,
_i2.Future<void> Function(
_i2.String,
_i3.PlainTextElement,
)? setDevResourcePreviewAsync,
}) =>
BaseNodeMixin._(
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),
getPluginData:
getPluginData == null ? null : _i5.allowInterop(getPluginData),
setPluginData:
setPluginData == null ? null : _i5.allowInterop(setPluginData),
getPluginDataKeys: getPluginDataKeys == null
? null
: _i5.allowInterop(getPluginDataKeys),
getSharedPluginData: getSharedPluginData == null
? null
: _i5.allowInterop(getSharedPluginData),
setSharedPluginData: setSharedPluginData == null
? null
: _i5.allowInterop(setSharedPluginData),
getSharedPluginDataKeys: getSharedPluginDataKeys == null
? null
: _i5.allowInterop(getSharedPluginDataKeys),
getDevResourcesAsync: getDevResourcesAsync == null
? null
: _i5.allowInterop(getDevResourcesAsync),
addDevResourceAsync: addDevResourceAsync == null
? null
: _i5.allowInterop(addDevResourceAsync),
editDevResourceAsync: editDevResourceAsync == null
? null
: _i5.allowInterop(editDevResourceAsync),
deleteDevResourceAsync: deleteDevResourceAsync == null
? null
: _i5.allowInterop(deleteDevResourceAsync),
setDevResourcePreviewAsync: setDevResourcePreviewAsync == null
? null
: _i5.allowInterop(setDevResourcePreviewAsync),
);