SegwitAddress class

Represents a Segwit address with Human-Readable Part (HRP) and version.

Constructors

SegwitAddress({String? hrp, int version = 0x00})
SegwitAddress.fromJson(Map<String, dynamic> json)
Creates a SegwitAddress instance from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hrp String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
final

Methods

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

Operators

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