sent property

List<Map<String, dynamic>> get sent

Every frame the client has sent, decoded.

Assert against this to prove your code subscribed to what you expected, or whispered what you expected. Accumulates across a drop and reconnect rather than resetting, so an assertion after a reconnect sees everything sent on every socket, not just the current one.

Implementation

List<Map<String, dynamic>> get sent => <Map<String, dynamic>>[
      ..._archivedSent,
      ...?_socket?.sentJson,
    ];