JsonEncodableCodec constructor

JsonEncodableCodec({
  1. Iterable<SembastTypeAdapter>? adapters,
})

Codec with the needed adapters

Implementation

JsonEncodableCodec({Iterable<SembastTypeAdapter>? adapters}) {
  _adapters = sembastTypeAdaptersToMap(adapters);
  _decoder = JsonEncodableDecoder(this);
  _encoder = JsonEncodableEncoder(this);
}