JRpcRequest constructor

const JRpcRequest({
  1. @Default('2.0') String jsonrpc,
  2. required String id,
  3. required String method,
  4. Object? params,
})

Implementation

const factory JRpcRequest({
  @Default('2.0') String jsonrpc,
  required String id,
  required String method,
  Object? params,
}) = _JRpcRequest;