Isolate-local registry of explicitly installed optional codecs.
Extensions replace the complete generic codec entry for a format. Direct codec instances remain unchanged. Install during startup in each isolate.
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
-
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
Static Methods
-
lookup(
ImageFormat format) → ImageCodecExtension< RasterEncodeOptions, RasterDecodeOptions> ? -
Returns the active add-on or built-in codec for
format. -
register(
ImageCodecExtension< RasterEncodeOptions, RasterDecodeOptions> extension) → void -
Installs
extension, replacing a previous extension for the same format. -
require(
ImageFormat format) → ImageCodecExtension< RasterEncodeOptions, RasterDecodeOptions> -
Returns the installed codec for
format, or reports missing registration. -
unregister(
ImageFormat format) → void - Removes an optional codec from this isolate.