PayloadDecryptionException class final

A stored task could not be decrypted: the key is unknown or wrong, the record was changed, or it was copied from another task.

Implemented types

Constructors

PayloadDecryptionException(String taskId, String message, {String? keyId, Object? cause})
Creates the exception for the task taskId.

Properties

cause → Object?
The error the cipher threw, when there was one.
final
hashCode → int
The hash code for this object.
no setterinherited
keyId → String?
The key id stored with the record, when it has one.
final
message → String
What went wrong.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taskId → String
The id of the task that could not be read.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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