NetworkErrorCode enum Null safety

A specification of the cause of a NetworkException.

Implemented types

Constants

dnsFailure → const NetworkErrorCode
const NetworkErrorCode(0)
invalidRedirect → const NetworkErrorCode
const NetworkErrorCode(11)
invalidURL → const NetworkErrorCode
const NetworkErrorCode(3)
timeout → const NetworkErrorCode
const NetworkErrorCode(2)
tlsCertExpired → const NetworkErrorCode
const NetworkErrorCode(6)
tlsCertNameMismatch → const NetworkErrorCode
const NetworkErrorCode(14)
tlsCertRevoked → const NetworkErrorCode
const NetworkErrorCode(13)
tlsCertUnknownRoot → const NetworkErrorCode
const NetworkErrorCode(10)
tlsCertUntrusted → const NetworkErrorCode
const NetworkErrorCode(7)
tlsClientCertRejected → const NetworkErrorCode
const NetworkErrorCode(9)
tlsClientCertRequired → const NetworkErrorCode
const NetworkErrorCode(8)
tlsHandshakeFailed → const NetworkErrorCode
const NetworkErrorCode(5)
tooManyRedirects → const NetworkErrorCode
const NetworkErrorCode(4)
unknown → const NetworkErrorCode
const NetworkErrorCode(12)
unknownHost → const NetworkErrorCode
const NetworkErrorCode(1)
values → const List<NetworkErrorCode>

A constant List of the values in this enum, in order of their declaration.

const List<NetworkErrorCode>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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