DVProtocolReleaseGate class final

dartvel compatibility-check --against production, read before deploy.

Implemented types

Constructors

DVProtocolReleaseGate({required DVProtocolLock lock, DVProtocolWindow window = const DVProtocolWindow(), required FutureOr<Iterable<DVProtocolSessionSample>> samples(), String name = 'protocol', void onDiagnostic(String code, String message)?})

Properties

hashCode → int
The hash code for this object.
no setterinherited
lock → DVProtocolLock
The candidate's protocol lock.
final
name → String
Unique within a composition; overrides address a gate by it.
final
onDiagnostic → void Function(String code, String message)?
final
phases → Set<DVReleasePhase>
The phases this gate is read in.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
samples → FutureOr<Iterable<DVProtocolSessionSample>> Function()
Sessions per protocol version, from monitoring.
final
window → DVProtocolWindow
final

Methods

evaluate(DVReleaseGateContext context) → Future<DVGateOutcome>
override
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