invalidatePrewarmingToken static method

Future<void> invalidatePrewarmingToken(
  1. PrewarmingToken prewarmingToken
)

Ends all prewarmed connections associated with the token, except for connections that are also kept alive by other tokens.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • prewarmingToken: all platforms

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

Implementation

static Future<void> invalidatePrewarmingToken(
  PrewarmingToken prewarmingToken,
) => PlatformChromeSafariBrowser.static().invalidatePrewarmingToken(
  prewarmingToken,
);