shutdown method

  1. @override
void shutdown()
override

This method is called when you execute an AFShutdownOngoingQueriesAction or when you re-execute a query of this type, replacing the existing listener with a new/differently configured query.

Implementation

@override
void shutdown() {
  isolate?.kill();
}