Chain constructor

const Chain({
  1. required int id,
  2. required String name,
  3. ChainNativeCurrency? nativeCurrency,
  4. Map<String, ChainRpcUrls>? rpcUrls,
  5. Map<String, ChainBlockExplorer>? blockExplorers,
  6. int? sourceId,
  7. bool? testnet,
  8. Map<String, dynamic>? custom,
  9. ChainFees? fees,
  10. ChainFormatters? formatters,
  11. ChainSerializers? serializers,
  12. Map<String, ChainContract>? contracts,
})

Implementation

const Chain({
  required this.id,
  required this.name,
  this.nativeCurrency,
  this.rpcUrls,
  this.blockExplorers,
  this.sourceId,
  this.testnet,
  this.custom,
  this.fees,
  this.formatters,
  this.serializers,
  this.contracts,
});