ValuesCodec class

A Codec that serializes and deserializes key-value pairs with an = separator.

Inheritance

Constructors

ValuesCodec()
const

Properties

decoder Converter<String, Map<String, String>>
Returns the decoder of this, converting from T to S.
no setteroverride
encoder Converter<Map<String, String>, String>
Returns the encoder from S to T.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
inverted Codec<String, Map<String, String>>
Inverts this.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(String encoded) Map<String, String>
Decodes encoded data.
inherited
encode(Map<String, String> input) String
Encodes input.
inherited
fuse<R>(Codec<String, R> other) Codec<Map<String, String>, R>
Fuses this with other.
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