menu
ws package
documentation
testing.dart
FakeWebSocketConnection
sendJson method
sendJson method
dark_mode
light_mode
sendJson
method
void
sendJson
(
Object
?
value
)
Sends
value
encoded as JSON text.
Implementation
void sendJson(Object? value) => sendText(jsonEncode(value));
ws package
documentation
testing
FakeWebSocketConnection
sendJson method
FakeWebSocketConnection class