cancelAutoFocus method
Cancels any auto-focus function in progress.
Whether or not auto-focus is currently in progress, this function will return the focus position to the default. If the camera does not support auto-focus, this is a no-op.
Throws PlatformException if canceling autofocus fails; usually this would be because of a hardware or other low-level error, or because release has been called on this Camera instance.
Implementation
Future<void> cancelAutoFocus() {
return _channel.$cancelAutoFocus(this);
}