NetworkClientFactory typedef

NetworkClientFactory = NetworkClient Function(Map<String, String> commonHeaders())

Builds the SDK's network client from the per-request common headers the composition provides.

Implementation

typedef NetworkClientFactory = NetworkClient Function(
  Map<String, String> Function() commonHeaders,
);