JsonRpcNotificationResponse<T> constructor
const
JsonRpcNotificationResponse<T> ({
- String jsonrpc = JsonRpcRequest.version,
- required String method,
- required JsonRpcNotification<
T> params,
Creates a JSON RPC notification.
{
'jsonrpc': '2.0',
'method': [method],
'params': <T>,
}
Implementation
const JsonRpcNotificationResponse({
this.jsonrpc = JsonRpcRequest.version,
required this.method,
required this.params,
});