ComponentPropertiesMixin constructor

ComponentPropertiesMixin({
  1. Object? componentPropertyDefinitions,
  2. String addComponentProperty(
    1. String,
    2. ComponentPropertyType,
    3. Object, [
    4. ComponentPropertyOptions?,
    ])?,
  3. String editComponentProperty(
    1. String,
    2. dynamic
    )?,
  4. void deleteComponentProperty(
    1. String
    )?,
})

Implementation

factory ComponentPropertiesMixin({
  _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,
}) =>
    ComponentPropertiesMixin._(
      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),
    );