JsonParser<T> typedef

JsonParser<T> = T Function(Object? json)

Decodes an already-decoded JSON value (typically Map<String, dynamic> or List<dynamic>) into a typed model T.

Implementation

typedef JsonParser<T> = T Function(Object? json);