McpNotification class
MCP Notification (request without ID)
Represents a JSON-RPC notification - a request that doesn't expect a response.
Constructors
-
McpNotification({required String method, Map<
String, dynamic> ? params}) -
McpNotification.fromJson(Map<
String, dynamic> json) -
Create notification from JSON map
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert to JSON map
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited