getCurrentDirectory method Null safety

Directory getCurrentDirectory ()

Returns the current working directory.

When this override is installed, this function overrides the behavior of the static getter Directory.current

Implementation

Directory getCurrentDirectory() => _Directory.current;