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.

Classes

OnDemandSerializable
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.
Serializable
Basic interface for serializable classes. Consider to extends SerializableObject for a simpler implementation, but Serializable is not complex to implement.
SerializableObject
Implementation of Serializable. Extend this class if in doubt. Use the attributes field to store and retrieve values, e.g. [...]
Serializer
Serializes to and deserializes from JSON.