UnsignedMessageImpl class
This struct creates only in rust side and describes UnsignedMessage
Constructors
- UnsignedMessageImpl({required ArcUnsignedMessageBoxTrait innerMessage})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- innerMessage → ArcUnsignedMessageBoxTrait
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
expireAt(
) → Future< int> - Return current expiration timestamp of UnsignedMessage Returns secondsSinceEpoch
-
hash(
) → Future< String> -
Returns base64 encoded hash string of UnsignedMessage
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshTimeout(
) → Future< UnsignedMessageImpl> -
sign(
{required String signature}) → Future< String> - Sign message with signature and return json-encoded SignedMessage. signature receives from KeyStore.sign where data is UnsignedMessage.hash
-
signFake(
) → Future< String> - Sign message with fake signature and return json-encoded SignedMessage or throws error
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override