Future<bool> clearBox() async { try { await _hiveViewState.currentOpenedBox?.clear(); return true; } catch (e) { _errorCallback(e.toString()); return false; } }