isLinux top-level property

bool isLinux

return true if running on Linux

Implementation

bool get isLinux => !isWeb && Platform.isLinux;