Registry class
Constructors
- Registry()
-
Registry.from(Map<
String, Codec> codecs)
Properties
-
additionalSignedExtensions
→ Map<
String, Codec> -
final
-
codecs
→ Map<
String, Codec> -
final
- extrinsicVersion ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keys
→ Iterable<
String> -
Get the registry keys
no setter
- length → int
-
Get the registry length
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signedExtensions
→ Map<
String, Codec> -
final
Methods
-
addCodec(
String codecName, Codec codec) → void - Add a codec to the registry
-
getAdditionalSignedExtensionTypes(
) → Map< String, Codec> - Get Additional Signed Extensions
-
getCodec(
String codecName) → Codec? - Get a codec from the registry
-
getSignedExtensionTypes(
) → Map< String, Codec> - Get Signed Extensions
-
getSimpleCodecs(
String simpleCodecs) → Codec? - match and return the types which are simple and not parametrized
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseSpecificCodec(
Map< String, dynamic> metadata, String selectedKey) → Codec -
registerCustomCodec(
Map< String, dynamic> metadata) → void - Parses metadata and adds it to registry
-
renameType(
String type) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited