operatingSystem top-level property Null safety

String operatingSystem

Identification of the current operating system or platform.

Specific known operating systems are reported by a unique string.

Implementation

String get operatingSystem => OperatingSystem.current.id;