LDFailureType enum Null safety
Enumerated type defining the defined failures the SDK can report encountering while fetching flag values.
Constants
- INVALID_RESPONSE_BODY → const LDFailureType
-
The SDK received a response that could not be decoded into a valid flag update.
const LDFailureType(0)
- NETWORK_FAILURE → const LDFailureType
-
A network failure has interrupted a flag update stream or polling request.
const LDFailureType(1)
- UNEXPECTED_RESPONSE_CODE → const LDFailureType
-
A network request to the service returned a unsuccessful response code.
const LDFailureType(3)
- UNEXPECTED_STREAM_ELEMENT_TYPE → const LDFailureType
-
The SDK has received an unknown event type in the event stream used for real-time flag updates.
const LDFailureType(2)
- UNKNOWN_ERROR → const LDFailureType
-
An unknown error occurred while fetching flag values.
const LDFailureType(4)
-
values
→ const List<
LDFailureType> -
A constant List of the values in this enum, in order of their declaration.
const List<
LDFailureType>
Properties
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