setFocusPoint method

  1. @override
Future<bool?> setFocusPoint(
  1. double x,
  2. double y
)
override

Implementation

@override
Future<bool?> setFocusPoint(double x, double y) async {
  try {
    return await methodChannel
        .invokeMethod<bool>("setFocusPoint", <String, dynamic>{
      'dx': x.toString(),
      'dy': y.toString(),
    });
  } catch (e) {
    throw Exception("$e [Set Focus Point]");
  }
}