ContentCodec class abstract
Interface for providing a codec for a specific media type.
Constructors
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
-
bytesToValue(
List< int> bytes, DataSchema? dataSchema, Map<String, String> ? parameters) → DataSchemaValue<Object?> ? - Converts a payload of the given media type to an Object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
valueToBytes(
DataSchemaValue< Object?> value, DataSchema? dataSchema, Map<String, String> ? parameters) → List<int> - Converts an Object to its byte representation in the given media type.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited