OS class final
An operating system the Dart VM runs on.
- Available extensions
Constructors
- OS.fromString(String name)
-
Creates a OS from the given
name
.factory
Properties
Methods
-
dylibFileName(
String name) → String -
Available on OS, provided by the OSLibraryNaming extension
The default dynamic library file name on this os. -
executableFileName(
String name) → String -
Available on OS, provided by the OSLibraryNaming extension
The default executable file name on this os. -
libraryFileName(
String name, LinkMode linkMode) → String -
Available on OS, provided by the OSLibraryNaming extension
The default library file name on this os. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
staticlibFileName(
String name) → String -
Available on OS, provided by the OSLibraryNaming extension
The default static library file name on this os. -
toString(
) → String -
The name of this OS.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- android → const OS
- The Android operating system.
- fuchsia → const OS
- The Fuchsia operating system.
- iOS → const OS
- The iOS operating system.
- linux → const OS
- The Linux operating system.
- macOS → const OS
- The macOS operating system.
-
osCrossCompilationDefault
→ const Map<
OS, List< OS> > - Typical cross compilation between OSes.
-
values
→ const List<
OS> - Known values for OS.
- windows → const OS
- The Microsoft Windows operating system.