changeCameraRatio method

Future<void> changeCameraRatio(
  1. ARGCameraRatio ratio
)

Implementation

Future<void> changeCameraRatio(ARGCameraRatio ratio) async {
  try {
    await _channel.invokeMethod<dynamic>('changeCameraRatio', {
      'ratio': ratio.index
    });
  } on PlatformException catch (e) {
    debugPrint('${e.code}: ${e.message}');
  }
}