SerializeCallback<E> typedef

SerializeCallback<E> = String Function(E value)

A function that serializes an object of type E to a string.

This typedef is used to define the serialization logic for objects stored in a SerializableStorageContainer. The function should convert the object into a string format suitable for storage (e.g., JSON).

Implementation

typedef SerializeCallback<E> = String Function(E value);