getFile method Null safety

  1. @override
File getFile(
  1. String path
)
override

Return a File that corresponds to the given path.

The path must be absolute and normalized.

A file may or may not exist at this location.

Implementation

@override
File getFile(String path) {
  _ensureAbsoluteAndNormalized(path);
  return _PhysicalFile(io.File(path));
}