initPush function
Implementation
Future initPush({
ENV env = ENV.prod,
Wallet? wallet,
bool showHttpLog = false,
}) async {
providerContainer.read(envProvider.notifier).setEnv(env);
providerContainer.read(showHttpLogProvider.notifier).setEnv(showHttpLog);
if (wallet != null) {
await providerContainer
.read(userEthWalletProvider.notifier)
.setCurrentUserEthWallet(wallet);
}
}