Version class

utility class to present protocal version in the records

Constructors

Version({int? value})
Version.fromDetail(int major, int minor)
Version.fromString(String string)

Properties

hashCode int
The hash code for this object.
no setterinherited
major int
getter/setter pair
minor int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
string String
getter/setter pair
value int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDetail(int major, int minor) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

formattedString(int? value) String