此代码不再起作用。
String getHomePath() {
var home = Platform.environment['HOME'];
if(home != null) {
return pathos.normalize(home);
} else {
return null;
}
}
Breaking on exception: Class '_LocalLibraryMirror'
has no instance getter 'classes'.
这是否意味着重新设计了库“dart: mirrors”并且包“pathos”没有考虑这些变化?
此外,我很惊讶包“pathos”使用“dart: mirrors”来确定它使用的环境(浏览器或独立)。