sentJson property

List<Object?> get sentJson

The text messages the client sent that are JSON, decoded. Other text and binary messages are left out (see sent), and so is a message that is the JSON null.

Implementation

List<Object?> get sentJson => [
  for (final message in _sent)
    if (message is String) ?_tryJson(message),
];