pkg.os_detect.override library Null safety

Functionality to override information about the current platform.

Classes

OperatingSystem
The name and version of an operating system.

Extensions

OperatingSystemGetters
Convenience operations on OperatingSystem.

Functions

overrideOperatingSystem<R>(OperatingSystem operatingSystem, R body()) → R
Run body in a zone with platform overrides.