linux property

Future<LinuxDeviceInfo?> get linux

Implementation

Future<LinuxDeviceInfo?> get linux async {
  if (isLinux && !isWeb) {
    return _linuxInfo ??= await _deviceInfoPlugin.linuxInfo;
  }
  return null;
}