DecoderRegistry class abstract base

Model and material decoders, and the schemes a path names a source by: the slot a plugin that reads a format fills.

Filled the way RenderStepRegistry is, by a type that knows the formats: ModelDecoders here (model decoders and asset-source schemes) and Decoders in flutter3d, which adds material decoders. A plugin asks for host.registry<ModelDecoders>() or host.registry<Decoders>().

Declared by the package that fills it. It was a marker in flutter3d_plugin_api until 1.0.0-rc.1, which named a slot nothing in the contract used.

Inheritance

Constructors

DecoderRegistry()
A const constructor for the registries that extend this one.
const

Properties

companions → Iterable<PluginRegistry>
The registries that come with this one, found by PluginHost.registry as if each had been handed to the host itself.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

forPlugin(PluginScope scope) → PluginRegistry
This registry as scope's plugin sees it: everything registered through the result is tracked by scope, ranked by it, and checked against its manifest. Must return the same type the registry is looked up by.
inherited
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