好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

获取系统的环境变量

Use Platform.environment to get the environment for the current process.

 import 'dart:io' show Platform;

main() {
  Map<String, String> envVars = Platform.environment;
  print(envVars['PATH']);
} 

查看更多关于获取系统的环境变量的详细内容...

  阅读:68次