getData method

Future<Uint8List> getData()

Implementation

Future<Uint8List> getData() async {
  _file ??= await getFile();
  return _file!.readAsBytesSync();
}