skidJoy method

  1. @override
Future<bool> skidJoy(
  1. double x,
  2. double y,
  3. bool smart
)
override

Implementation

@override
Future<bool> skidJoy(double x, double y, bool smart) async {
  try {
    final result = await methodChannel.invokeMethod<bool>('skidJoy', {
      'x': x,
      'y': y,
      'smart': smart,
    });
    return result ?? false;
  } on PlatformException catch (e) {
    debugPrint('Error calling skidJoy: ${e.message}');
    return false;
  }
}