HttpFile.fromBytes constructor
Creates a new HttpFile from a byte array.
Implementation
factory HttpFile.fromBytes(String field, List<int> bytes,
{String? filename, MediaType? contentType}) {
return HttpFile._(field,
bytes: bytes, filename: filename, contentType: contentType);
}