dartSdk top-level property
Directory?
get
dartSdk
Returns the path to the Dart SDK sidekick should use for the dart command
Usually inherited from flutterSdk which ships with an embedded Dart SDK
Implementation
Directory? get dartSdk {
if (_activeRunner == null) {
throw OutOfCommandRunnerScopeException('dartSdk');
}
return _activeRunner?.dartSdk;
}