getFolder method Null safety

  1. @override
Folder getFolder(
  1. String path
)
override

Return a Folder that corresponds to the given path.

The path must be absolute and normalized.

A folder may or may not exist at this location.

Implementation

@override
Folder getFolder(String path) {
  _ensureAbsoluteAndNormalized(path);
  return _PhysicalFolder(io.Directory(path));
}