FeatureStatus enum
Lifecycle state of a feature, as observed from the AppContainer.
- disabled — not active. The feature is either auto-inactive, its
required parent is inactive, or its activation failed. Default state
before
AppContainer.startruns. - pending — mid-activation: the feature's stores are constructed
and the graph is awaiting the visitor's
onActivatework to complete. This covers the user's asynconStartcallback plus any framework bookkeeping around it; transitions to.activeas soon as activation settles successfully, or back to.disabledif it throws. - active — fully online: stores are live and
onStarthas completed.
Values
- disabled → const FeatureStatus
- pending → const FeatureStatus
- active → const FeatureStatus
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<
FeatureStatus> - A constant List of the values in this enum, in order of their declaration.