HiveFocusQuestStorage constructor

HiveFocusQuestStorage({
  1. String boxName = 'focus_quest',
  2. HiveInterface? hive,
  3. bool initializeHive = true,
})

Creates a Hive-backed storage adapter.

Implementation

HiveFocusQuestStorage({
  this.boxName = 'focus_quest',
  HiveInterface? hive,
  this.initializeHive = true,
}) : _hive = hive ?? Hive;