init method
Initializes the Hive cache box. Safe to call multiple times.
Implementation
Future<void> init() async {
if (_initialized) return;
await Hive.initFlutter();
_cacheBox = await Hive.openBox<String>('sfwf_cache');
_initialized = true;
}