BooleanEvaluationResponse class
Response for a boolean flag evaluation.
- Annotations
-
- @JsonSerializable.new()
Constructors
- BooleanEvaluationResponse({required bool enabled, required String flagKey, required String reason, required double requestDurationMillis, required String timestamp})
-
BooleanEvaluationResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- enabled → bool
-
Whether the flag is enabled.
final
- flagKey → String
-
The flag key.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String
-
The reason for the evaluation result.
final
- requestDurationMillis → double
-
The request duration in milliseconds.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → String
-
The timestamp of the evaluation.
final
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