add method

  1. @override
  2. @visibleForTesting
FutureOr<void> add(
  1. Object data
)
override

Sends data on the WebSocket connection. The data in data must be either a String, or a List

Implementation

@override
@visibleForTesting
FutureOr<void> add(Object data) =>
    Future<void>.delayed(const Duration(milliseconds: 25));