set method

void set(
  1. String mimeType,
  2. DataTransferItem value
)

Sets a mime type to data transfer item mapping.

@param mimeType The mime type to set the data for. Mimes types stored in lower case, with case-insensitive looks up. @param value The data transfer item for the given mime type.

Implementation

void set(
  _i2.String mimeType,
  _i3.DataTransferItem value,
) {
  _i5.callMethod(
    this,
    'set',
    [
      mimeType,
      value,
    ],
  );
}