AddressObject class

Represents an address object in the wallet system.

Constructors

AddressObject({required String hash, String? custom, required String publicKey, required String privateKey, double balance = 0, int score = 0, int lastOP = 0, bool isLocked = false, double incoming = 0, double outgoing = 0})
Constructor for creating an AddressObject.

Properties

availableBalance → dynamic
Available balance to perform paid transactions.
no setter
balance double
getter/setter pair
custom String?
getter/setter pair
hash String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
incoming double
getter/setter pair
isLocked bool
getter/setter pair
lastOP int
getter/setter pair
nameAddressFull → dynamic
Returns the hash or alias of the address.
no setter
outgoing double
getter/setter pair
privateKey String
getter/setter pair
publicKey String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score int
getter/setter pair

Methods

copyWith({String? hash, String? custom, double? balance, int? score, int? lastOP, bool? isLocked, double? incoming, double? outgoing}) AddressObject
Creates a new instance of AddressObject with optional modifications.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJsonExport() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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