engineSetServerAPI method

  1. @override
Future<void> engineSetServerAPI(
  1. String serverAPI
)
override

设置评测的域名信息,必须在engineCreate前调用,非私有化部署可以不用设置

Implementation

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