TypeRegistry class

Contains the static registry of type mapping from substitution names to type OIDs, their codec and the generic type encoders (for un-typed values).

Constructors

TypeRegistry.new({Map<int, Codec>? codecs, Iterable<EncoderFn>? encoders})

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

decode(EncodedValue value, CodecContext context) Future<Object?>
encode(TypedValue<Object> input, CodecContext context) Future<EncodedValue?>
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