DVAgreement class final
One agreement as dartvel.agreements declares it.
Constructors
- DVAgreement({required String id, required String version, required String route})
-
versionis a date,YYYY-MM-DD, that somebody sets: a typo fix is not a new agreement, and a hash of the document would make it one.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void - Throws when version is not a real calendar date.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromConfig(
Map< String, Object?> agreements) → List<DVAgreement> -
Reads
dartvel.agreementsfrompubspec.yaml.