isLinux top-level property

bool isLinux

Whether the test is running on the Linux operating system.

This does not include test compiled to JavaScript running in a browser on the Linux operating system.

Implementation

bool get isLinux {
  if (_kIsCompiledToJavaScript) {
    return false;
  }
  return Platform.isLinux;
}