OperatingSystem class abstract

Definition of OS.

Constructors

OperatingSystem.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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

Static Properties

isAndroid bool
Flag which determines whether current platform is Android.
no setter
isFuchsia bool
Flag which determines whether current platform is Fuchsia.
no setter
isIOS bool
Flag which determines whether current platform is iOS.
no setter
isLinux bool
Flag which determines whether current platform is Linux.
no setter
isMacOS bool
Flag which determines whether current platform is MacOS.
no setter
isWindows bool
Flag which determines whether current platform is Windows.
no setter

Constants

android → const String
fuchsia → const String
ios → const String
linux → const String
macos → const String
windows → const String