bytes property

Future<Uint8List> get bytes

get file content in bytes

await file.bytes

Implementation

Future<Uint8List> get bytes async {
  _bytes ??= await _convertMultipartToBytes(stream);
  return _bytes!;
}