enough_serialization library Null safety

Serialze and deserialize your Dart classes.

Extend either SerializableObject or implement the more low-lewel Serializable class in your model classes.


Supports classes with normal fields. Instead of always keeping field values in the attributes field, the fields and their values are only written/read on demand when needed.
Basic interface for serializable classes. Consider to extends SerializableObject for a simpler implementation, but Serializable is not complex to implement.
Implementation of Serializable. Extend this class if in doubt. Use the attributes field to store and retrieve values, e.g. [...]
Serializes to and deserializes from JSON.