valueDecoder abstract method
T
valueDecoder(
- S value
Decodes the value
property of a successful JSON RPC response-context.
final response = {"jsonrpc":"2.0", "result":{"context": {"slot": 1}, "value": 0}, "id":1}
decoder(response["result"]["value"])
Implementation
T valueDecoder(final S value);