forEach method

void forEach(
  1. void callbackfn(
    1. DataTransferItem,
    2. String,
    3. DataTransfer
    ), [
  2. dynamic thisArg
])

Allows iteration through the data transfer items.

@param callbackfn Callback for iteration through the data transfer items. @param thisArg The this context used when invoking the handler function.

Implementation

void forEach(
  void Function(
    _i3.DataTransferItem,
    _i2.String,
    _i3.DataTransfer,
  ) callbackfn, [
  _i2.dynamic thisArg,
]) {
  _i5.callMethod(
    this,
    'forEach',
    [
      _i5.allowInterop(callbackfn),
      thisArg,
    ],
  );
}