SimpleCodec<T> class
- Implemented types
-
- Codec<
T>
- Codec<
Constructors
- SimpleCodec({required String nodeLocalName, required String encodeValue(T value), required T decodeValue(String text)?})
Properties
- decodeValue → T Function(String text)?
-
final
- encodeValue → String Function(T value)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nodeLocalName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
XmlNode? node, XmlCodecDecodeSignature? decode) → T -
override
-
encode(
Object? value, XmlCodecEncodeSignature? encode) → XmlNode -
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