linux constant Null safety

String const linux

A string constant to compare with operatingSystem to see if the platform is Linux.

Useful in case statements when switching on operatingSystem.

To just check if the platform is Linux, use isLinux.

Implementation

static const String linux = 'linux';