IoError class sealed

Represents an error that occurred during an IO operation.

Constructors

IoError.ioException(IOException error)
All IO related exceptions.
factory
IoError.unknown(Object error)
Represents an error that occurred during an IO operation that is not an IOException. This state may never be possible but is needed to ensure a value does not leak past the guard.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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