ModelVersion class

Travel Impact Model version.

For more information about the model versioning see https://github.com/google/travel-impact-model/#versioning.

Constructors

ModelVersion({String? dated, int? major, int? minor, int? patch})
ModelVersion.fromJson(Map json_)

Properties

dated String?
Dated versions: Model datasets are recreated with refreshed input data but no change to the algorithms regularly.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
major int?
Major versions: Major changes to methodology (e.g. adding new data sources to the model that lead to major output changes).
getter/setter pair
minor int?
Minor versions: Changes to the model that, while being consistent across schema versions, change the model parameters or implementation.
getter/setter pair
patch int?
Patch versions: Implementation changes meant to address bugs or inaccuracies in the model implementation.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited