unexpectedMessage method

void unexpectedMessage(
  1. Map<String, Object?> message
)

Called when the Server receives an unexpected message which is not a notification or response.

Implementation

void unexpectedMessage(Map<String, Object?> message) {
  log('Unexpected message from server:', '$message');
}