StorageSerializationError class

An error that occurs during the serialization or deserialization of data.

This is typically thrown when an object cannot be converted to a format suitable for storage, such as JSON.

Inheritance

Constructors

StorageSerializationError(String message, [Object? originalException])
Creates a new StorageSerializationError.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A descriptive message explaining the nature of the error.
finalinherited
originalException Object?
The original exception or error object that was caught, if any.
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.
inherited

Operators

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