Use Platform.environment to get the environment for the current process.
Platform.environment
import 'dart:io' show Platform; main() { Map<String, String> envVars = Platform.environment; print(envVars['PATH']); }
扫一扫
在手机上阅读
您还没有登录,登录后您可以:
首次使用?从这里 注册