Version class Null safety

See Versioning.

Inheritance

Constructors

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

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
json Map<String, dynamic>?
read / write, inherited
major int?
The major version number is incremented when the protocol is changed in a potentially incompatible way.
read / write
minor int?
The minor version number is incremented when the protocol is changed in a backwards compatible way.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
read-only, override

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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