DVProtocolRelease class
One protocol version as the lockfile records it.
The contract travels with the number so a later build can derive the adaptations for every version still in the window from what that version actually was, rather than from a reconstruction of it.
Constructors
- DVProtocolRelease({required int protocol, required String shape, required DateTime released, required DVProtocolContract contract})
-
const
Properties
- contract → DVProtocolContract
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- protocol → int
-
final
- released → DateTime
-
The day this version became current, in UTC.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → String
-
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