EventApi class abstract
An abstract class representing an event generator and signer.
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
-
finishEvent(
Event event, String privateKey) → Event -
Finishes signing the given
event
using the specifiedprivateKey
. -
getEventHash(
Event event) → String -
Generates the hash of the given
event
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signEvent(
Event event, String privateKey) → String -
Signs the given
event
using the specifiedprivateKey
. -
toString(
) → String -
A string representation of this object.
inherited
-
verifySignature(
Event event) → bool -
Verifies the signature of the given
event
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited