UploadData constructor

UploadData({
  1. Object? bytes,
  2. String? file,
})

Implementation

UploadData({
  /// An ArrayBuffer with a copy of the data.
  Object? bytes,

  /// A string with the file's path and name.
  String? file,
}) : _wrapped = $js.UploadData(
        bytes: bytes?.jsify(),
        file: file,
      );