UpgraderOS class

A class that indicates which OS this code is running on.

Implementers

Constructors

UpgraderOS()

Properties

current String
no setter
currentOSType UpgraderOSType
no setter
hashCode int
The hash code for this object.
no setterinherited
isAndroid bool
Whether the operating system is a version of Android.
no setter
isFuchsia bool
Whether the operating system is a version of Fuchsia.
no setter
isIOS bool
Whether the operating system is a version of iOS.
no setter
isLinux bool
Whether the operating system is a version of Linux.
no setter
isMacOS bool
Whether the operating system is a version of macOS.
no setter
isWeb bool
Whether the application was compiled to run on the web.
no setter
isWindows bool
Whether the operating system is a version of Windows.
no setter
operatingSystem String
The target operating system.
no setter
operatingSystemVersion String
A string representing the version of the operating system or platform.
no setter
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 ==(Object other) bool
The equality operator.
inherited