Version class

See Versioning.

Inheritance

Constructors

Version({int? major, int? minor})

Properties

hashCode int
The hash code for this object.
no setterinherited
json Map<String, dynamic>?
getter/setter pairinherited
major int?
The major version number is incremented when the protocol is changed in a potentially incompatible way.
getter/setter pair
minor int?
The minor version number is incremented when the protocol is changed in a backwards compatible way.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

parse(Map<String, dynamic>? json) Version?
override