Address class

Annotations
  • @freezed

Constructors

Address(Uint8List bytes)
factory
Address.contract(Uint8List core)
factory
Address.fromJson(String json)
factory
Address.fromPublicKey(Uint8List publicKey)
factory
Address.parse(ViteAddress address)
factory
Address.user(Uint8List core)
factory

Properties

asTopic Hash
no setter
bytes Uint8List
no setterinherited
checksum String
no setter
checksumBytes Uint8List
latefinal
copyWith → $AddressCopyWith<Address>
no setterinherited
coreBytes Uint8List
no setter
hashCode int
The hash code for this object.
no setterinherited
hex String
no setter
isContractAddress bool
no setter
isUserAddress bool
no setter
original Uint8List
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viteAddress ViteAddress
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
override

Operators

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

Static Methods

isValid(ViteAddress address) bool
tryParse(ViteAddress address) Address?