initOppoPush static method
初始化OPPO push,
appKey 应用appKey
appSecret 应用appSecret
needLog 应用是否打开推送日志
Implementation
static Future<void> initOppoPush({
required String appKey,
required String appSecret,
bool needLog=false,
}) async {
return await channel.invokeMethod(Config.methodInit, {"type":PushType.oppo,
"appKey": appKey,
"appSecret": appSecret,
"needLog": needLog,
"enableLog": needLog,
});
}