topRouteName method

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

最上层路由名称

Implementation

@override
Future<String?> topRouteName() async {
  final ret = await methodChannel.invokeMethod<String>(
    FMNavigatorMethod.topRouteName,
  );
  return ret;
}