PersistCallback<T> typedef

PersistCallback<T> = String? Function(T)

A callback for encoding an instance of a data class into a String.

Implementation

typedef PersistCallback<T> = String? Function(T);