initHonourPush static method

Future<void> initHonourPush({
  1. required bool initToken,
  2. bool enableLog = false,
})

初始化Honour push, initToken 是否推送注册成功之后返回token

Implementation

static Future<void> initHonourPush({
  required bool initToken,
  bool enableLog=false,
}) async {
  return await channel.invokeMethod(Config.methodInit, {"type":PushType.honour,"initToken":initToken,"enableLog":enableLog});
}