PlatformVersion class

Constructors

PlatformVersion({required int major, required int minor, required int patch, int? minorPatch, String? versionCode, bool isSnapshot = false})
PlatformVersion.fromString(String version)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isSnapshot bool
getter/setter pair
major int
getter/setter pair
minor int
getter/setter pair
minorPatch int?
getter/setter pair
patch int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
versionCode String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
versionInt() int
versionString() String

Operators

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

Static Properties

versionRegExp RegExp
getter/setter pair