setOption static method

Future<void> setOption(
  1. int opt1,
  2. Object opt2
)

设置特定功能选项

Implementation

static Future<void> setOption(int opt1, Object opt2) async {
  var map = {"opt1": opt1, "opt2": opt2};
  return methodChannel.invokeMethod("setOption", map);
}