commitUint8List method

Future<bool> commitUint8List(
  1. Uint8List l,
  2. String target
)

Implementation

Future<bool> commitUint8List(Uint8List l, String target) async {
  //conv into binary
  if (db == null) return false;
  dataPushedDisk += l.lengthInBytes;
  await _appCachesCapBox.put(target, l);
  print('[DB] commitUint8List DONE');
  return true;
}