init method
Implementation
@override
Future<void> init() async {
try {
if (enableAnalytics == null) {
_isEnabled = await fetchAnalyticsConfig();
} else {
_isEnabled = enableAnalytics!;
}
_bundleId = await WalletConnectUtils.getPackageName();
loggerService.instance.d('[$runtimeType] enabled: $_isEnabled');
} catch (e, s) {
loggerService.instance.d(
'[$runtimeType] init error',
error: e,
stackTrace: s,
);
}
}