InputFile.fromBytes constructor
InputFile.fromBytes(})
Creates a new InputFile using the bytes of the file.
Implementation
factory InputFile.fromBytes(
Uint8List bytes, {
String? name,
String? mimeType,
Map<String, List<String>>? headers,
}) =>
InputFile._(
bytes: bytes,
name: name,
mimeType: mimeType,
headers: headers,
);