toggleVideo method

void toggleVideo(
  1. bool val
)

Implementation

void toggleVideo(bool val) {
  videoEnabled = val;
}