add method

DataTransferItem? add([
  1. String? data,
  2. String? type
])

Implementation

DataTransferItem? add([String? data, String? type]) =>
    js_util.callMethod(this, 'add', [data, type]);