setMiPushAppKey method

void setMiPushAppKey({
  1. required String appKey,
})

设置小米推送的APP_KEY appKey 为在小米平台注册所得key

Implementation

void setMiPushAppKey({required String appKey}) {
  _channel.invokeMethod('setMiPushAppKey', {'appKey': appKey});
}