updateWhiteBoard method

  1. @override
void updateWhiteBoard(
  1. String roomId,
  2. String action,
  3. DrawModel draw
)
override

Implementation

@override
void updateWhiteBoard(String roomId, String action, DrawModel draw) {
  _socket?.emit(SocketEvent.updateWhiteBoardCSS, {
    'roomId': roomId,
    'action': action,
    'paints': [draw.toMap()],
  });
}