openBox static method
Opens a box. Convenience pass through to Hive.openBox
.
If the box is already open, the instance is returned and all provided parameters are being ignored.
Implementation
static Future<Box<Map<dynamic, dynamic>?>> openBox(String boxName,
{String? path}) async {
return await Hive.openBox<Map<dynamic, dynamic>?>(boxName, path: path);
}