Flutter
platform
Platform
isLinux property
isLinux
Platform class
Constructors
Platform
Properties
environment
executable
executableArguments
isAndroid
isFuchsia
isIOS
isLinux
isMacOS
isWindows
localeName
localHostname
numberOfProcessors
operatingSystem
packageConfig
packageRoot
pathSeparator
resolvedExecutable
script
stdinSupportsAnsi
stdoutSupportsAnsi
version
hashCode
runtimeType
Methods
toJson
noSuchMethod
toString
Operators
operator ==
isLinux property
bool
isLinux
True if the operating system is Linux.
Implementation
bool get isLinux => (operatingSystem == "linux");