popNativeContainer method Null safety

Future<bool> popNativeContainer()

Pop the native container. You could use the method to close the fullscreen player. But if the enablePictureInPicture of the associated video feed is true, we can't close the fullscreen player.

Implementation

Future<bool> popNativeContainer() async {
  final result =
      await FWMethodChannelUtil.getNavigatorMethodChannel().invokeMethod(
    NavigatorNativeMethodName.popNativeContainer.name,
  );
  return result;
}