linuxInfo property

Future<LinuxDeviceInfo> linuxInfo

Information derived from /etc/os-release.

See: https://www.freedesktop.org/software/systemd/man/os-release.html

Implementation

Future<LinuxDeviceInfo> get linuxInfo async => _cachedLinuxDeviceInfo ??=
    await _platform.deviceInfo() as LinuxDeviceInfo;