OverrideRegistry class
Central registry for any overrides you want to use across your app.
Constructors
- OverrideRegistry()
-
factory
Properties
-
config
→ Map<
String, dynamic> -
Arbitrary override values
final
-
featureFlags
→ Map<
String, bool> -
Global feature flags
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- platformOverride ↔ String?
-
Manual platform override (null = use real platform)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void -
getConfig(
String key) → dynamic -
isEnabled(
String key) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setConfig(
String key, dynamic value) → void -
setFlag(
String key, bool value) → void - Set or update a feature flag
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited