RPCRequestDetails constructor

const RPCRequestDetails({
  1. required int id,
  2. required String method,
  3. required Map<String, dynamic> params,
})

Creates an instance of RPCRequestDetails.

The id parameter represents the unique identifier for the request. The method parameter is the name of the RPC method. The params parameter holds the parameters for the RPC call.

Implementation

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