multipartFileFromUint8List static method
A multipart file from bytes (works on web). await UHttpClient.multipartFileFromUint8List("file", bytes, filename: "a.jpg")
Implementation
static Future<MultipartFile> multipartFileFromUint8List(
String fieldName,
Uint8List bytes, {
String? filename,
MediaType? contentType,
}) async => MultipartFile.fromBytes(fieldName, bytes, contentType: contentType, filename: filename);