UnsignedMessage class

Wrapper above nekoton's UnsignedMessage

Properties

expireAt DateTime
getter/setter pair
hash String
Values that do not change
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message UnsignedMessageImpl
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshTimeout() Future<void>
sign({required String signature}) Future<SignedMessage>
Sign message with signature and return SignedMessage. signature receives from KeyStore.sign where data is UnsignedMessage.hash
signFake() Future<SignedMessage>
Sign message without signature and return SignedMessage.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create({required UnsignedMessageImpl message}) Future<UnsignedMessage>
Create wrapper for nekoton's UnsignedMessage with suitable returns values of some methods.