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

Constructors

PropCodec()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → PropType
What the values are (for panels, docs, codegen).
no setter

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