setPointOfInterest method
Implementation
Future<Null> setPointOfInterest(Offset offset) async {
if (!value.isInitialized! || _isDisposed) {
throw CameraException(
'Uninitialized CameraController.',
'takePicture was called on uninitialized CameraController',
);
}
try {
await _channel.invokeMethod(
'setPointOfInterest',
<String, dynamic>{'offsetX': offset.dx, 'offsetY': offset.dy},
);
} on PlatformException catch (e) {
throw CameraException(e.code, e.message);
}
}