MultipartItem.bytes constructor

const MultipartItem.bytes({
  1. required Uint8List bytes,
  2. String? fileName,
  3. String? contentType,
})

A value of raw bytes.

Implementation

const factory MultipartItem.bytes({
  required Uint8List bytes,
  String? fileName,
  String? contentType,
}) = MultiPartBytes._;