ImageStreamCompleterHandle class

An opaque handle that keeps an ImageStreamCompleter alive even if it has lost its last listener.

To create a handle, use ImageStreamCompleter.keepAlive.

Such handles are useful when an image cache needs to keep a completer alive but does not actually have a listener subscribed, or when a widget that displays an image needs to temporarily unsubscribe from the completer but may re-subscribe in the future, for example when the TickerMode changes.


hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


dispose() → void
Call this method to signal the ImageStreamCompleter that it can now be disposed when its last listener drops.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.