close abstract method Null safety

Future<void> close()

Closes the file.

Returns a Future that completes when it has been closed.

Implementation

Future<void> close();