BaseNodeMixin constructor

BaseNodeMixin({
  1. String? id,
  2. _Intersection7? parent,
  3. String? name,
  4. bool? removed,
  5. bool? isAsset,
  6. String toString$()?,
  7. void remove()?,
  8. void setRelaunchData(
    1. Object
    )?,
  9. Object getRelaunchData()?,
  10. Future<Object> getCSSAsync()?,
  11. FrameNode? getTopLevelFrame()?,
  12. String getPluginData(
    1. String
    )?,
  13. void setPluginData(
    1. String,
    2. String
    )?,
  14. List<String> getPluginDataKeys()?,
  15. String getSharedPluginData(
    1. String,
    2. String
    )?,
  16. void setSharedPluginData(
    1. String,
    2. String,
    3. String
    )?,
  17. List<String> getSharedPluginDataKeys(
    1. String
    )?,
  18. Future<List<DevResourceWithNodeId>> getDevResourcesAsync([
    1. dynamic
    ])?,
  19. Future<void> addDevResourceAsync(
    1. String, [
    2. String?
    ])?,
  20. Future<void> editDevResourceAsync(
    1. String,
    2. dynamic
    )?,
  21. Future<void> deleteDevResourceAsync(
    1. String
    )?,
  22. Future<void> setDevResourcePreviewAsync(
    1. String,
    2. PlainTextElement
    )?,
})

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),
    );