engineSetRatio method

  1. @override
Future<void> engineSetRatio(
  1. double ratio
)
override

设置评测的 拉升系数,取值范围为0.8-1.5,默认为1.0

Implementation

@override
Future<void> engineSetRatio(double ratio) async {
  List<dynamic> params = [ratio];
  await methodChannel.invokeMethod('engineSetRatio', params);
  return;
}