RpcResponse<R, T> constructor

RpcResponse<R, T>({
  1. required int id,
  2. R? result,
  3. T? error,
})

Implementation

RpcResponse({required this.id, this.result, this.error});