FromJsonFunction<T> typedef

FromJsonFunction<T> = T Function(Map<String, dynamic> json)

Type definition for a function that converts a JSON map to an object of type T.

This function is used by the DSON system to deserialize JSON data into strongly-typed objects.

Implementation

typedef FromJsonFunction<T> = T Function(Map<String, dynamic> json);