The version of the public API contract that generated code is written against.
Generated files record this number in their header and in the binding they declare; the runtime refuses a file written against a different contract, because a mismatch means generated code calling methods with names or meanings this runtime no longer has.
It is folded into the schema fingerprint, so a contract change invalidates every generated file even when no table moved.
See doc/API_CONTRACT.md.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
Constants
- current → const int
- The contract this runtime implements.
- minimumSupported → const int
- The lowest contract version this runtime can still read.