acceptcall method

void acceptcall(
  1. String username
)

Implementation

void acceptcall(String username) {
  socket.emit("ACCEPT_CALL", username);

  whichuserisCallingMe.value = "";
  isCallingMe.value = false;
}