JsonRpcResponseDecoder<S, T> typedef

JsonRpcResponseDecoder<S, T> = T Function(S input)

Converts a JSON object to type T, where T is a JsonRpcResponse or list of JsonRpcResponses.

Implementation

typedef JsonRpcResponseDecoder<S, T> = T Function(S input);