add property

({DataTransferItem? Function(File data) $1, DataTransferItem? Function(String data, String type) $2}) get add

Overload accessor: $1, $2

Implementation

({
  /// Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also.
  ///
  /// [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/add)
  _i3.DataTransferItem? Function(_i3.File data) $1,

  /// Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also.
  ///
  ///  [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/add)
  _i3.DataTransferItem? Function(
    _i2.String data,
    _i2.String type,
  ) $2,
}) get add => (
      $1: _add$1,
      $2: _add$2,
    );