NpgHttpGet typedef
Signature of the GET used to call the NPG orders API.
The plugin uses npgDefaultHttpGet unless you pass your own to NexiNpgPayment, which lets you route the call through your HTTP stack (a proxy, certificate pinning, logging) or stub it in tests.
Implementation
typedef NpgHttpGet = Future<NpgHttpResponse> Function(
Uri url,
Map<String, String> headers,
);