FeatureFlag class final
A declared feature flag: name, build-time enabled state, optional gates.
Constructors
-
FeatureFlag({required String name, required bool enabled, List<
FeatureGate> gates = const []}) -
const
Properties
- enabled → bool
-
final
-
gates
→ List<
FeatureGate> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- pascalName → String
-
pro-analytics->ProAnalytics(the slice/class prefix this flag governs).no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snakeName → String
-
pro-analytics->pro_analytics(file-path segment form).no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited