updateWhiteBoard method
Implementation
@override
Future<void> updateWhiteBoard(
DrawModel draw,
DrawActionEnum action,
) async {
if (roomId == null) return;
_cachedPaints.add(draw);
_localPaints.add(draw);
_socketEmiter.updateWhiteBoard(roomId!, action.action, draw);
_emitWhiteBoard();
}