DVReleaseHealthGate class

Holds a rollout whose health falls below its declared thresholds.

Read per cohort as well as per release, because a crash that takes only the ten per cent in a rollout disappears into a whole-release average.

Constructors

DVReleaseHealthGate({required double crashFreeSessions, double? crashFreeUsers, int minimumSessions = 1, List<String> stagedFlags = const <String>[], void onDiagnostic(String code, String message)?})

Properties

crashFreeSessions → double
final
crashFreeUsers → double?
final
hashCode → int
The hash code for this object.
no setterinherited
minimumSessions → int
Below this many sessions a number is not read — one crash in one session is not a rate.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stagedFlags → List<String>
final

Methods

evaluate(DVReleaseHealth health, {required String release, String? patch}) → DVReleaseHealthDecision
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