decoder method
Decodes the result property of a successful JSON RPC response.
final response = {"jsonrpc":"2.0", "result":197469478, "id":1}
decoder(response["result"])
Implementation
@override
LeaderSchedule? decoder(
final Map<String, dynamic>? value,
) => value != null ? LeaderSchedule.castFrom(value) : null;