JsonEncodableCodec constructor
JsonEncodableCodec({
- Iterable<
SembastTypeAdapter> ? adapters,
Codec with the needed adapters
Implementation
JsonEncodableCodec({Iterable<SembastTypeAdapter>? adapters}) {
_adapters = sembastTypeAdaptersToMap(adapters);
_decoder = JsonEncodableDecoder(this);
_encoder = JsonEncodableEncoder(this);
}