ConsensusApi class
Constructors
- ConsensusApi(RpcClient _client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
logAdd(
ClientContext? ctx, LogAddRequest request) → Future< Ok> - LogAdd adds new log to consensus
-
logDelete(
ClientContext? ctx, LogDeleteRequest request) → Future< Ok> - LogDelete deletes the log from the consensus
-
logWatch(
ClientContext? ctx, LogWatchRequest request) → Future< LogWatchEvent> - LogWatch fetches log and subscribes for a changes
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordAdd(
ClientContext? ctx, RecordAddRequest request) → Future< RawRecordWithId> - RecordAdd adds new record to log
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited