CorruptedFileError class
File is corrupted — cannot be read or decrypted.
- Inheritance
-
- Object
- StorageError
- CorruptedFileError
Constructors
- CorruptedFileError(String key, {Object? cause})
-
keyis the unreadable object;causethe underlying evidence.const
Properties
- cause → Object?
-
The underlying error that revealed the corruption.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
The storage key involved in the error (null for non-key-specific errors).
finalinherited
- message → String
-
Human-readable error description.
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