NetworkConfig class

Constructors

NetworkConfig({required String chainId, required String chainName, NativeCurrency? nativeCurrency, required List<String> rpcUrls, List<String>? blockExplorerUrls, List<String>? iconUrls})
NetworkConfig.fromJson(Map<String, dynamic> json)
factory

Properties

blockExplorerUrls List<String>?
final
chainId String
final
chainName String
final
hashCode int
The hash code for this object.
no setterinherited
iconUrls List<String>?
final
nativeCurrency NativeCurrency?
final
rpcUrls List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited