enableCamera method

void enableCamera(
  1. dynamic enabled
)

Implementation

void enableCamera(enabled) {
  print("this is bool $enabled");
  if (_localStream != null) {
    _localStream?.getVideoTracks()[0].enabled = enabled;
  }
}