isUsingDartFromFlutter property
bool
isUsingDartFromFlutter
Implementation
static bool get isUsingDartFromFlutter {
final path = which('dart').path;
if (path == null) {
return false;
}
return dirname(dirname(path)).endsWith('flutter');
}