DataToJsonCallback<T> typedef
DataToJsonCallback<T> =
dynamic Function(T data)
A callback definition for a method that converts a data type to a json
object.
The json beeing returned from this method must never be null.
Implementation
typedef DataToJsonCallback<T> = dynamic Function(T data);