Cryptocurrency class

Represents a Cryptocurrency with various attributes and settings.

Constructors

Cryptocurrency({required String name, required CurrencySymbol symbol, required String network, String? sourceCode, required CoinType coinType, required int scriptAddress, required int publicKeyAddress, required SegwitAddress segwitAddress, required ExtendedPrivateKey extendedPrivateKey, required ExtendedPublicKey extendedPublicKey, String? messagePrefix, required String defaultPath, required int wifSecretKey})
Cryptocurrency.fromJson(Map<String, dynamic> json)
Creates a Cryptocurrency instance from a JSON map.
factory
Cryptocurrency.fromSymbol(CurrencySymbol network)
Creates a Cryptocurrency instance from a given CurrencySymbol.
factory

Properties

coinType CoinType
final
defaultPath String
final
extendedPrivateKey ExtendedPrivateKey
final
extendedPublicKey ExtendedPublicKey
final
hashCode int
The hash code for this object.
no setterinherited
messagePrefix String?
final
name String
final
network String
final
publicKeyAddress int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptAddress int
final
segwitAddress SegwitAddress
final
sourceCode String?
final
symbol CurrencySymbol
final
wifSecretKey int
final

Methods

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

Operators

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