resolve method

Source resolve (
  1. String relPath
)

Implementation

Source resolve(String relPath) {
  final file = path.resolve(relPath);
  final content = File.fromUri(file).readAsStringSync();
  return Source(file, content, this);
}