EtherscanAPI constructor Null safety

EtherscanAPI(
  1. {required String apiKey,
  2. EthChain chain = EthChain.mainnet,
  3. bool enableLogs = true,
  4. Duration? timeout}
)

Implementation

EtherscanAPI({
  required this.apiKey,
  this.chain = EthChain.mainnet,
  this.enableLogs = true,
  this.timeout,
});