whenCancelled property
Future<QueryCancelledException>
get
whenCancelled
Completes when cancellation is requested.
Implementation
Future<QueryCancelledException> get whenCancelled => token._cancelled.future;