TypeDecoderOptions class
Contains the options to build a type decoder.
Constructors
-
TypeDecoderOptions({required TypeDecoder decoder, required Map<
Type, TypeFactory> typeRegistry}) - Creates a new TypeDecoderOptions. decoder the TypeDecoder to use. typeRegistry A registry of all types to be decoded with one initialized instance.
Properties
- decoder → TypeDecoder
-
The type decoder to use
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
typeRegistry
→ Map<
Type, TypeFactory> -
A list of type factories
final
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