DVContractStepGate class final

Refuses a contract step while anything still reads what it drops.

Implemented types

Constructors

DVContractStepGate({required String migration, required List<DVContractDrop> drops, required DVProtocolLock lock, DVProtocolWindow window = const DVProtocolWindow(), String? name, DVReleaseDiagnosticSink? onDiagnostic})

Properties

drops → List<DVContractDrop>
final
hashCode → int
The hash code for this object.
no setterinherited
lock → DVProtocolLock
The protocol lock of the release that runs the contract.
final
migration → String
The expand/contract migration being contracted.
final
name → String
Unique within a composition; overrides address a gate by it.
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
window → DVProtocolWindow
final

Methods

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