Network class

Network class is used to specify which Stellar network you want to use. Each network has a networkPassphrase which is hashed to every transaction id.

Constructors

Network(String _networkPassphrase)
Creates a new Network object to represent a network with a given networkPassphrase.

Properties

hashCode int
The hash code for this object.
no setterinherited
networkId Uint8List?
Returns the network id (SHA-256 hashed networkPassphrase).
no setter
networkPassphrase String
Returns the network passphrase of this network.
no setter
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

FUTURENET Network
final
PUBLIC Network
final
TESTNET Network
final