linkWithWeChat method
绑定微信
wxAppId
微信AppID
wxUniLink
微信ulink链接配置,iOS必传
Implementation
Future<dynamic> linkWithWeChat({
required String wxAppId,
String wxUniLink = "",
bool? withUnionId = false,
}) async {
if (_wxAuthProvider == null) {
_wxAuthProvider = WxAuthProvider(super.core);
}
return _wxAuthProvider!
.linkWithWechat(wxAppId: wxAppId, wxUniLink: wxUniLink);
}