close method

  1. @override
Future<void> close()
override

Closes this instances. Clears the temporaryDirectory directory if necessary.

Implementation

@override
Future<void> close() async {
  _clearTemporaryDirectory();
  await _deleteTempFiles();
}