rootRouteName method

  1. @override
Future<String?> rootRouteName()
override

根路由名称

Implementation

@override
Future<String?> rootRouteName() async {
  // debugPrint('Flutter开始调用:method:${FMNavigatorMethod.rootRouteName}');
  final ret = await methodChannel.invokeMethod<String>(
    FMNavigatorMethod.rootRouteName,
  );
  // debugPrint('Flutter结束调用:method:${FMNavigatorMethod.rootRouteName}');
  return ret;
}