invalidatePrewarmingToken static method
Ends all prewarmed connections associated with the token, except for connections that are also kept alive by other tokens.
NOTE for iOS: available on iOS 15.0+.
Supported Platforms/Implementations:
Implementation
static Future<void> invalidatePrewarmingToken(
PrewarmingToken prewarmingToken) async {
Map<String, dynamic> args = <String, dynamic>{};
args.putIfAbsent('prewarmingToken', () => prewarmingToken.toMap());
await _sharedChannel.invokeMethod("invalidatePrewarmingToken", args);
}