ExtendedKey class

Creates an ExtendedKeyType enum value from its name.

Implementers

Constructors

ExtendedKey({required int p2pkh, required int p2sh, int? p2wpkh, int? p2wpkhInP2sh, int? p2wsh, int? p2wshInP2sh})
ExtendedKey.fromJson(Map<String, dynamic> json)
Creates an ExtendedKey instance from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
p2pkh int
final
p2sh int
final
p2wpkh int?
final
p2wpkhInP2sh int?
final
p2wsh int?
final
p2wshInP2sh int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getExtended(ExtendedKeyType type) String?
Returns an extended key value for the specified key type.
getExtendedType(Uint8List bytes) ExtendedKeyType?
Returns the ExtendedKeyType for the given bytes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the ExtendedKey instance to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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