RpcPayload<T> constructor

const RpcPayload<T>({
  1. required int id,
  2. required String jsonrpc,
  3. required String method,
  4. required T params,
})

Implementation

const RpcPayload({
  required this.id,
  required this.jsonrpc,
  required this.method,
  required this.params,
});