close method
Implementation
Future<void> close() async {
if (_config.type == StorageType.hive) {
await _hiveBox?.close();
}
_instance = null;
}
Future<void> close() async {
if (_config.type == StorageType.hive) {
await _hiveBox?.close();
}
_instance = null;
}