runWithPlatformHttp<T> static method

Future<T?> runWithPlatformHttp<T>(
  1. Future<T> call()
)

Runs platform HTTP outside the runner's console-capture zone.

Some platform HTTP clients depend on the test binding's native runAsync zone. Keep this route on the binding directly while ordinary app async work uses runner for console capture.

Implementation

static Future<T?> runWithPlatformHttp<T>(Future<T> Function() call) =>
    _run(call, trackAsLiveCall: true, runnerOverride: platformHttpRunner);