begin method
dynamic
begin()
Implementation
begin() async {
print("开始发起请求");
String spKey = await WNJMain.to.getSpkey();
if (spKey.isNotEmpty) {
print('1111');
widget.jumpToABPageHandler?.call(false);
return;
}
bool isTurn = await AVInit.getTurnStatus();
if (isTurn) {
print('2222');
widget.jumpToABPageHandler?.call(false);
} else {
print('3333');
widget.jumpToABPageHandler.call(true);
}
if (!mounted) return;
}