kernelName
kernelName
import "package:system_info2/system_info2.dart";
print("Kernel name : ${SysInfo.kernelName}");Last updated
Was this helpful?
The name of your operating system.
Possible values are:
Linux
Windows
MacOS
iOS
Android
Example:
import "package:system_info2/system_info2.dart";
print("Kernel name : ${SysInfo.kernelName}");Please help expand the list of examples by raising an issue with examples on the onpub.dev github site.
Last updated
Was this helpful?
Was this helpful?