badMessage method

void badMessage(
  1. String trimmedLine,
  2. dynamic exception
)

Called when the Server could not decode a message.

Implementation

void badMessage(String trimmedLine, exception) {
  log('JSON decode failure', '$exception');
}