JsonRpcRequest constructor
- @JsonSerializable()
Implementation
@JsonSerializable()
const factory JsonRpcRequest({
required int id,
@Default('2.0') String jsonrpc,
required String method,
dynamic params,
}) = _JsonRpcRequest;
@JsonSerializable()
const factory JsonRpcRequest({
required int id,
@Default('2.0') String jsonrpc,
required String method,
dynamic params,
}) = _JsonRpcRequest;