isLinux property

bool get isLinux

Returns true if the platform is Linux.

Implementation

static bool get isLinux => DevicePlatformType.currentPlatformType == PlatformType.Linux;