SystemUtil class

系统工具

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

env Map<String, String>
所有环境变量
no setter
localeName String
语言环境
no setter
localHostname String
本地主机名称
no setter
numberOfProcessors int
逻辑处理器数量
no setter
operatingSystem String
操作系统名称。 linux、windows、macos、android、fuchsia、ios
no setter
operatingSystemVersion String
操作系统版本号(例如:Windows 10 Pro" 10.0 (Build 19043))
no setter
pathSeparator String
系统分隔符
no setter
version String
dart版本号
no setter

Static Methods

getEnv(String key) String?
获取环境变量key
getEnvList(String key) List<String>?
获取环境变量key分割集合