JsonObjectDecoder<T> typedef
JsonObjectDecoder<T> =
T Function(JsonObject json)
Function that converts a JsonObject into an instance of T.
Parameters:
json: The JSON object holding the data forT.
Returns: A new instance of T.
Implementation
typedef JsonObjectDecoder<T> = T Function(JsonObject json);