RemoteConfigSource enum
Where RemoteConfigService's current config actually came from — exposed alongside RemoteConfigService.snapshot so a caller/test can tell "still asset-only" apart from "remote merged in" without having to diff key values (ENH-58).
Values
- assetOnly → const RemoteConfigSource
-
RemoteConfigService.fetchRemote was never provided, or
inithasn't run yet — config is exactly whatever the bundled asset had (or empty). - remoteMerged → const RemoteConfigSource
-
RemoteConfigService.fetchRemote resolved at least once and its non-null entries were merged in on top of the asset defaults.
- remoteFailed → const RemoteConfigSource
-
RemoteConfigService.fetchRemote was provided but threw — config stayed at whatever it was before the attempt (asset-only, or a previous successful merge).
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<
RemoteConfigSource> - A constant List of the values in this enum, in order of their declaration.