directory method Null safety

Directory directory(
  1. dynamic path
)

Returns a reference to a Directory at path.

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

Implementation

Directory directory(dynamic path);