Web3Provider.fromEthereum constructor
Web3Provider.fromEthereum(
- Ethereum ethereum
Create new Web3Provider instance from ethereum
instance.
final web3provider = Web3Provider.fromEthereum(ethereum!);
print(web3provider); // Web3Provider:
Implementation
factory Web3Provider.fromEthereum(Ethereum ethereum) =>
Web3Provider._(_Web3ProviderImpl(ethereum.impl));