NotificationParams.toMCP constructor

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

Implementation

factory NotificationParams.toMCP(Map<String, Object?> map) {
  return NotificationParams(
    $meta: map['_meta'] != null
        ? RequestMetaObject.toMCP(map['_meta'] as Map<String, Object?>)
        : null,
  );
}