DiskReadOnlyException class
Thrown when something writes to a read-only disk, such as assets.
- Inheritance
-
- Object
- DiskException
- DiskReadOnlyException
Constructors
- DiskReadOnlyException(String operation, {String? disk, String? path})
-
Creates a new DiskReadOnlyException for
operation.const
Properties
- cause → Object?
-
The error this one wraps, e.g. a
FileSystemException.finalinherited - disk → String?
-
The name of the disk, e.g.
local.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
The name printed by toString.
no setteroverride
- message → String
-
What went wrong.
finalinherited
- operation → String
-
The refused operation, e.g.
put.final - path → String?
-
The path on the disk, as the caller wrote it.
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
-
relocate(
String disk, String path) → DiskReadOnlyException -
The same error, reported against
diskandpath.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited