CancelledNotification.toMCP constructor

CancelledNotification.toMCP(
  1. Map<String, Object?> map
)

Implementation

factory CancelledNotification.toMCP(Map<String, Object?> map) {
  return CancelledNotification(
    params: CancelledNotificationParams.toMCP(
      map['params'] as Map<String, Object?>,
    ),
  );
}