resolved method
Implementation
String? resolved(String root) {
if (_path.isEmpty) return null;
if (_path.startsWith('file:')) {
return fs.path.relative(
_path.replaceFirst(RegExp('^file:'), ''),
from: fs.path.dirname(root),
);
}
if (_path == 'dart:_http') {
return 'dart:io';
}
return _path;
}