Version class

Annotations
  • @immutable

Constructors

Version({int major = 0, int minor = 0, int patch = 0})
const
Version.fromList(dynamic list)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
major int
final
minor int
final
patch int
final
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
toString() String
A string representation of this object.
override

Operators

operator <=(Version other) bool
operator ==(Object other) bool
The equality operator.
override
operator >=(Version other) bool