ErrorReason enum

Network level fetch failure reason.

Inheritance
Available extensions

Values

failed → const ErrorReason
const ErrorReason('Failed')
aborted → const ErrorReason
const ErrorReason('Aborted')
timedOut → const ErrorReason
const ErrorReason('TimedOut')
accessDenied → const ErrorReason
const ErrorReason('AccessDenied')
connectionClosed → const ErrorReason
const ErrorReason('ConnectionClosed')
connectionReset → const ErrorReason
const ErrorReason('ConnectionReset')
connectionRefused → const ErrorReason
const ErrorReason('ConnectionRefused')
connectionAborted → const ErrorReason
const ErrorReason('ConnectionAborted')
connectionFailed → const ErrorReason
const ErrorReason('ConnectionFailed')
nameNotResolved → const ErrorReason
const ErrorReason('NameNotResolved')
internetDisconnected → const ErrorReason
const ErrorReason('InternetDisconnected')
addressUnreachable → const ErrorReason
const ErrorReason('AddressUnreachable')
blockedByClient → const ErrorReason
const ErrorReason('BlockedByClient')
blockedByResponse → const ErrorReason
const ErrorReason('BlockedByResponse')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
override

Operators

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

Constants

values → const List<ErrorReason>
A constant List of the values in this enum, in order of their declaration.