isLinux property

bool isLinux

Checks whether the device is linux or not

Implementation

static bool get isLinux =>
    !isWeb && defaultTargetPlatform == TargetPlatform.linux;