init static method
初始化
Implementation
static Future<Map<Object?, Object?>> init(String appKey, String secretKey, int region,
[String regionExt = ""]) async {
// init sdk
Map<Object?, Object?> ret = await _channel.invokeMethod('init', {
"appKey": appKey,
"secretKey": secretKey,
"region": region,
"regionExt": regionExt
});
// addEventChannelHandler
_addEventChannelHandler();
return ret;
}