DisposableToken constructor

DisposableToken(
  1. _DisposableClient _client, {
  2. dynamic data,
})

Propagates thread notifications with possibility to cancel operations.

_client - Parent client of this token. data - Initial token data.

Implementation

DisposableToken(
  this._client, {
  this.data,
});