PropCodec<T> class
abstract
Reads and writes one prop's JSON. Decoding returns null for values it can't read (the prop then has its default).
- Implementers
- AnimationCurveCodec
- BoolCodec
- BreakpointWidthsCodec
- DoubleCodec
- DrawOpsCodec
- DrawPaintsCodec
- EnumCodec
- ErrorTextCodec
- ExprCodec
- FontWeightCodec
- IntCodec
- ListCodec
- NullableDoublesCodec
- OptionalBoolCodec
- OptionalDoubleCodec
- OptionalEnumCodec
- OptionalIntCodec
- OptionalStringCodec
- PathCommandsCodec
- PointsCodec
- StringCodec
- ValueCodec
- VecCodec
Constructors
- PropCodec()
-
const
Properties
Methods
-
decode(
Object? json) → T? -
encode(
T value) → Object? -
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