speed method

Future<void> speed(
  1. int speed
)

speed : 2 ~ 12

Implementation

Future<void> speed(int speed) async {
  Map<String, dynamic> params = {"speed": speed};
  await methodChannel.invokeMethod<void>('speed', params);
}