DisposableResolver class abstract interface

A media resolver that holds disposable native resources (decoded images) and can release them eagerly instead of waiting for garbage collection.

The render pipeline disposes a resolver it owns (one it built per render from mediaResolverProvider) once the render is done; an injected resolver belongs to the caller and is never disposed by the pipeline.

Properties

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

Methods

dispose() → void
Releases cached native resources. Safe to call more than once.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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