MPFlutterWechatAppDelegate constructor
MPFlutterWechatAppDelegate({})
Implementation
MPFlutterWechatAppDelegate({
this.onLaunch,
this.onEnter,
this.onShow,
this.onHide,
this.onSaveExitState,
this.onShareAppMessage,
this.onShareAppMessageAsync,
this.onShareTimeline,
this.onShareTimelineAsync,
this.onAddToFavorites,
this.onAddToFavoritesAsync,
}) {
if (kIsMPFlutter) {
try {
_addCallbackListenner();
_readyToLaunch();
} catch (e) {
print(e);
}
}
}