findFile method

  1. @protected
File? findFile(
  1. String path
)

Implementation

@protected
File? findFile(String path) {
  path = normalize(path);

  for (var root in paths) {
    var file = File(join(root, path));

    if (file.existsSync()) {
      return file;
    }
  }

  return null;
}