current property
OperatingSystem
get
current
The current operating system ID.
Defaults to what information is available
from known platform specific libraries,
but can be overridden using functionality from the
osid_override.dart
library.
Implementation
@pragma('vm:try-inline')
static OperatingSystem get current =>
Zone.current[#_os] as OperatingSystem? ?? platformOS;