DropFile constructor

DropFile({
  1. String? name,
  2. String? type,
  3. Future<Uint8List> getBytesAsync()?,
  4. Future<String> getTextAsync()?,
})

Implementation

factory DropFile({
  _i2.String? name,
  _i2.String? type,
  _i2.Future<_i6.Uint8List> Function()? getBytesAsync,
  _i2.Future<_i2.String> Function()? getTextAsync,
}) =>
    DropFile._(
      name: name,
      type: type,
      getBytesAsync:
          getBytesAsync == null ? null : _i5.allowInterop(getBytesAsync),
      getTextAsync:
          getTextAsync == null ? null : _i5.allowInterop(getTextAsync),
    );