UiGraphTransport typedef

UiGraphTransport = Future<UiGraphTransportResult> Function(Map<String, dynamic> payload)

Injected so the engine never imports api_service.dart — that keeps the whole subsystem testable with no HTTP and no Flutter bindings.

Implementation

typedef UiGraphTransport = Future<UiGraphTransportResult> Function(
  Map<String, dynamic> payload,
);