Runtime class

Provides a platform agnostic way to retrieve information about the platform.

Implementers

Constructors

Runtime()
Creates a Runtime.
const

Properties

android bool
Whether the current runtime type is android.
no setter
fuchsia bool
Whether the current runtime type is fuchsia.
no setter
hashCode int
The hash code for this object.
no setterinherited
ios bool
Whether the current runtime type is ios.
no setter
linux bool
Whether the current runtime type is linux.
no setter
macos bool
Whether the current runtime type is macos.
no setter
platform String
The current platform.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type PlatformType
The current platform type.
no setter
web bool
Whether the current runtime type is web.
no setter
windows bool
Whether the current runtime type is windows.
no setter

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