source/core/schema/datum_field_codec library
Bidirectional converters between Dart field values and their persisted (map / wire) representation, used by DatumFieldSpec — the no-codegen type-safety layer.
The built-in conversions mirror datum_generator's table (DateTime as
ISO-8601 or epoch-milliseconds, Duration as microseconds, enums by
.name, Uri/BigInt as strings) so schema-described and generated
entities stay wire-compatible.
Classes
-
DatumFieldCodec<
V> -
Converts between a Dart value of type
Vand its persisted form.