directory method Null safety

  1. @override
Directory directory(
  1. dynamic path
)
override

Returns a reference to a Directory at path.

path can be either a `String`, a `Uri`, or a `FileSystemEntity`.

Implementation

@override
Directory directory(dynamic path) => _ChrootDirectory(this, getPath(path));