discontinuedPackage analysis_server_client has been discontinued.

ServerConnectedParams.fromNotification constructor

ServerConnectedParams.fromNotification(
  1. Notification notification
)

Implementation

factory ServerConnectedParams.fromNotification(Notification notification) {
  return ServerConnectedParams.fromJson(
      ResponseDecoder(null), 'params', notification.params);
}