readCapsule property

Future<Uint8List?> get readCapsule

Implementation

Future<Uint8List?> get readCapsule async {
  Uint8List? u = await _foCapBox.get('capsule');
  //_ubox.close();

  if (u == null) {
    return null;
  }
  dataPulledDisk += u.lengthInBytes;

  print('[DB] read DONE');
  return u;
}