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