XchainModel class Null safety
The model to store information about cross chain reference.
Constructors
- XchainModel(RsaPublicKey publicKey, {dynamic lastBlock})
- Builds a XchainModel from its publicKey.
-
XchainModel.fromMap(Map<
String, dynamic> map) -
Builds a XchainModel from a
map
.
Properties
- address ↔ Uint8List
-
The chain address. It is the SHA3-256 hash of the
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 → RsaPublicKey
-
The chain public key bytes.
final
- 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