Version class Core
Define the content version with major and minor.
- Implemented types
Constructors
- Version({int encodedVersion = 0})
-
Version.fromJson(Map<
String, dynamic> json) -
factory
- Version.fromMajorAndMinor({required int major, required int minor})
-
factory
Properties
Methods
-
compareTo(
Version other) → int -
Compares this object to another object.
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 ==(
covariant Version other) → bool -
The equality operator.
override