UploadFile.fromBytes constructor
const
UploadFile.fromBytes({})
Implementation
const UploadFile.fromBytes({
required this.fieldName,
required Uint8List this.bytes,
required this.filename,
this.contentType = 'application/octet-stream',
}) : file = null;