setPosition method

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

Implementation

@override
Future<bool> setPosition(double x, double y) async {
  final result = await methodChannel.invokeMethod<bool>('setPosition', {
    'x': x,
    'y': y,
  });
  return result ?? false;
}