DefaultTranscoder class Key-Value

Transcoder which implements cross-SDK transcoding capabilities by taking advantage of the common flags specification.

This transcoder is capable of encoding/decoding any value which is encodable to JSON, and additionally has special-case handling for Uint8Lists.

Implemented types

Constructors

DefaultTranscoder()
const

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(EncodedDocumentData data) Object?
Decodes the given EncodedDocumentData into a Dart value.
override
encode(Object? value) EncodedDocumentData
Encodes the given value into EncodedDocumentData.
override
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