JsonRpcNotification constructor

const JsonRpcNotification(
  1. String method,
  2. Map<String, Object?> params
)

Creates a JsonRpcNotification for method with params.

Implementation

const JsonRpcNotification(this.method, this.params);