close method

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

Closes any opened file handles, removes temporary files, etc.

If the Fetcher is already closed then invoking this method has no effect.

Implementation

@override
Future<void> close() async {
  for (Route route in routes) {
    route.fetcher.close();
  }
}