Dart SDK
dart:io
Platform
localHostname
property
localHostname
Platform
Static properties
isLinux
isMacOS
isWindows
isAndroid
numberOfProcessors
pathSeparator
operatingSystem
localHostname
environment
executable
resolvedExecutable
script
executableArguments
packageRoot
version
Constructors
Platform
String
localHostname
read-only
Get the local hostname for the system.