FailureKind enum
What went wrong, used to pick the message and the recovery actions.
Values
- init → const FailureKind
-
Platform initialization failed. Only a restart can recover.
- notFound → const FailureKind
-
No route matched the location.
- route → const FailureKind
-
A route matched but its page could not be loaded.
- featureLoad → const FailureKind
-
A lazy feature failed to download or activate.
- featureDisabled → const FailureKind
-
A lazy feature is turned off by its feature flag.
- content → const FailureKind
-
A part of a page (a section or a widget) failed; shown inline.
- unexpected → const FailureKind
-
Anything else.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
FailureKind> - A constant List of the values in this enum, in order of their declaration.