preconnect method

Future<bool> preconnect({
  1. required String containerId,
  2. required String url,
})

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • containerId: all platforms
  • url: all platforms

Use the PlatformContainerController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<bool> preconnect({
  required String containerId,
  required String url,
}) => platform.preconnect(containerId: containerId, url: url);