init method

Future<void> init(
  1. String storagePath, {
  2. bool isLazy = true,
})
inherited

Implementation

Future<void> init(String storagePath, {bool isLazy = true}) async {
  _isLazy = isLazy;
  this.storagePath = storagePath;
  Hive.init(storagePath);
  await initialize();
}