StorageDeserializationException class
Exception thrown when deserialization of stored data fails.
- Inheritance
-
- Object
- StorageException
- StorageDeserializationException
Constructors
- StorageDeserializationException(String message, {String? key, Type? expectedType})
-
Creates a new StorageDeserializationException.
const
Properties
- expectedType → Type?
-
The expected type that failed to deserialize.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
The storage key associated with the error, if applicable.
finalinherited
- message → String
-
The error message.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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