topRouteIsNative method

Future<bool> topRouteIsNative()

Implementation

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