DataFromJsonCallback<T> typedef

DataFromJsonCallback<T> = T Function(dynamic json)

A callback definition for a method that converts a json object to a data type.

The json beeing passed to this method can never be null.

Implementation

typedef DataFromJsonCallback<T> = T Function(dynamic json);