XchainModel class Null safety

The model to store information about cross chain reference.

Constructors

XchainModel(Uint8List publicKey, {Uint8List? lastBlock})
Builds a XchainModel from its publicKey.
XchainModel.fromMap(Map<String, dynamic> map)
Builds a XchainModel from a map.

Properties

address ↔ String
The base64Url representation of the chain address.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
lastBlock ↔ Uint8List?
The id for the last validated block.
read / write
publicKey ↔ Uint8List
The chain public key bytes.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Overrides toString() method for useful error messages
override

Operators

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