JsonSerializableRegistry extension
Methods
-
registerJsonSerializable<
T> ({required T fromJson(Map< String, Object?> json), String? typeKey}) → CacheDataCodecRegistry -
Available on CacheDataCodecRegistry, provided by the JsonSerializableRegistry extension
Registers a serializer for a type with fromJson factory. -
registerJsonSerializableList<
T> ({required T fromJson(Map< String, Object?> json), String? typeKey}) → CacheDataCodecRegistry -
Available on CacheDataCodecRegistry, provided by the JsonSerializableRegistry extension
Registers a serializer forList<T>whereThasfromJsonfactory.