switchCamera method
void
switchCamera()
Implementation
void switchCamera() {
if (this.type == "video") {
_invokeMethod("switchCamera", {'trackId': this.getId()});
}
}
void switchCamera() {
if (this.type == "video") {
_invokeMethod("switchCamera", {'trackId': this.getId()});
}
}