Represents a notification sent by the server.
the notification method identifier
optional notification parameters
Converts the notification to a JSON-RPC notification.