maybePop<T extends Object> function
可能返回到上一个页面
Implementation
Future<bool> maybePop<T extends Object>([T? result]) {
assert(GlobalWayUI().navigatorKey.currentState != null,
'Set GlobalWayUI().navigatorKey to one of [MaterialApp CupertinoApp WidgetsApp]');
return GlobalWayUI().navigatorKey.currentState!.maybePop<T>(result);
}