GenericNetwork class

Annotations
  • @freezed

Constructors

GenericNetwork({required List<String> blockExplorerUrls, required dynamic chainId, String? chainName, required List<String> iconUrls, String? lcdUrl, required String name, NameService? nameService, required NativeCurrency nativeCurrency, required dynamic networkId, List<String>? privateCustomerRpcUrls, required List<String> rpcUrls, String? vanityName})
const
factory
GenericNetwork.fromJson(Map<String, dynamic> json)
factory

Properties

blockExplorerUrls List<String>
no setterinherited
chainId → dynamic
no setterinherited
chainName String?
Deprecated use name property instead
no setterinherited
copyWith → $GenericNetworkCopyWith<GenericNetwork>
Create a copy of GenericNetwork with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
iconUrls List<String>
no setterinherited
lcdUrl String?
A light client, compared to a full node, tracks only pieces of certain information on a blockchain. Light clients do not track the entire state of a blockchain and also do not contain every transaction/block of a chain.
no setterinherited
name String
no setterinherited
nameService NameService?
no setterinherited
nativeCurrency NativeCurrency
no setterinherited
networkId → dynamic
no setterinherited
privateCustomerRpcUrls List<String>?
Contains the client private RPC urls
no setterinherited
rpcUrls List<String>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vanityName String?
no setterinherited

Methods

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

Operators

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