AsyncContentCodecBase class abstract
Base class for a custion implementation, by defining only decodeAsync
and encodeAsync
- Implemented types
-
- Codec<
S, T>
- Codec<
Constructors
Properties
-
decoder
→ Converter<
String, Object?> -
Returns the decoder of
this
, converting fromT
toS
.no setterinherited -
encoder
→ Converter<
Object?, String> -
Returns the encoder from
S
toT
.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
String, Object?> -
Inverts
this
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
String encoded) → Object? -
Decodes
encoded
data.inherited -
decodeAsync(
String encoded) → Future< Object?> -
To implement.
inherited
-
encode(
Object? input) → String -
Encodes
input
.inherited -
encodeAsync(
Object? input) → Future< String> -
To implement.
inherited
-
fuse<
R> (Codec< String, R> other) → Codec<Object?, R> -
Fuses
this
withother
.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