toggleData
Set the mobile data state on the device.
Note: Falls back to the deprecated Appium 2 protocol endpoint if the driver does not support the
mobile:execute method.
नोट
Unlike the deprecated API which toggled the data state, this command requires an explicit
enabled parameter to set the desired state directly.
This command is only supported on Android.