engineSetOnline method

  1. @override
Future<void> engineSetOnline(
  1. bool online
)
override

设置使用在线或者离线引擎

Implementation

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