XchainService class Null safety
The service to handle XchainModel references and updates.
Constructors
- XchainService(Database db)
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
add(
String publicKey) → void -
Adds a new Xchain by
publicKey
base64 representation. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String address, Uint8List lastBlock) → void - Updates the XchainModel.lastBlock.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited