dispose method

  1. @override
Future<Null> dispose()
inherited

Dispose of the object, cleaning up to prevent memory leaks.

Implementation

@override
Future<Null> dispose() {
  // We want the description to be the runtime type of this
  // object, not the proxy disposable, so we need to set
  // the leak flag here, before we delegate the `dispose`
  // call.
  flagLeak();
  return _disposable.dispose();
}