fetchGatewayConfiguration method
Fetch the current gateway configuration.
Implementation
Future<GatewayConfiguration> fetchGatewayConfiguration() async {
final route = HttpRoute()..gateway();
final request = BasicRequest(route, authenticated: false);
final response = await client.httpHandler.executeSafe(request);
return parseGatewayConfiguration(response.jsonBody as Map<String, Object?>);
}