DVGateOutcome class final

One gate's answer.

Constructors

DVGateOutcome.hold(String gate, String reason, {String? code, bool overridable = true, List<String> flagsToTurnOff = const <String>[], Map<String, Object?> evidence = const <String, Object?>{}})
const
DVGateOutcome.pass(String gate, {Map<String, Object?> evidence = const <String, Object?>{}})
const
DVGateOutcome.rollBack(String gate, String reason, {String? code, List<String> flagsToTurnOff = const <String>[], Map<String, Object?> evidence = const <String, Object?>{}})
const

Properties

code → String?
The diagnostic code behind the answer, when there is one.
final
evidence → Map<String, Object?>
What the gate decided on, kept with any override of it.
final
flagsToTurnOff → List<String>
Staged feature flags to turn off when this answer stops the rollout.
final
gate → String
The gate's name.
final
hashCode → int
The hash code for this object.
no setterinherited
overridable → bool
Whether a recorded override may let this hold through.
final
reason → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verdict → DVGateVerdict
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited