init method
Implementation
@override
Future<void> init({String? chainId}) async {
_connectionChainId = chainId;
_initializedCompleter = Completer<bool>();
_isConnectedCompleter = Completer<bool>();
if (!isEmailEnabled.value && !isSocialEnabled.value) {
_initializedCompleter.complete(false);
_isConnectedCompleter.complete(false);
return;
}
_packageName = await ReownCoreUtils.getPackageName();
await _init();
await _isConnected();
await _syncAppData();
isReady.value = true;
await syncTheme(_appTheme);
}