close method

  1. @override
void close()
override

Closes the current instance. The returned future completes when the instance has been closed.

Implementation

@override
void close() {
  closable.removeObserver(subClosable);
}