closeAll method

Future<void> closeAll()

close all the opened box

Implementation

Future<void> closeAll() async {
  return _lockGuard(() {
    Future.wait([
      _sessionBox.close(),
      _cacheBox.close(),
      Hive.close(),
    ]);
  });
}