init method
Init service
Implementation
@override
Future<void> init() async {
if (initialized.value) {
return;
}
// TODO ideally we should call this at every opening to be able to detect newly installed wallets.
final nativeData = await _fetchNativeAppData();
final installed = await nativeData.getInstalledApps();
_installedWalletIds = Set<String>.from(installed.map((e) => e.id));
await _fetchInitialWallets();
initialized.value = true;
}