SdkVersion class Core

SDK version representation as four ints and a text string.

Constructors

SdkVersion({int minor = 0, int major = 0, int year = 0, int week = 0, String revision = ''})
SdkVersion.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
major int
Major SDK version number, such as 1 in version 1.2;
getter/setter pair
minor int
Minor SDK version number, such as 2 in version 1.2;
getter/setter pair
revision String
SDK revision string
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
week int
The week of the year, decimal 1 or 2 digits
getter/setter pair
year int
SDK year, decimal 1 or 2 digits
getter/setter pair

Methods

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

Operators

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