initialize static method
Implementation
static Future<void> initialize() async {
await Hive.initFlutter();
Hive.registerAdapter(CryptocurrencyAdapter());
cryptocurrencyBox = await Hive.openBox<Cryptocurrency>('cryptocurrencyBox');
}
static Future<void> initialize() async {
await Hive.initFlutter();
Hive.registerAdapter(CryptocurrencyAdapter());
cryptocurrencyBox = await Hive.openBox<Cryptocurrency>('cryptocurrencyBox');
}