flatQueryParams function
Implementation
@visibleForTesting
Map<String, String> flatQueryParams(
dynamic data,
Shape? shape,
Map<String, Shape> shapes,
String version,
String action,
) {
return Map.fromEntries(_flatten([], data, shape, shapes))
..addAll({'Action': action, 'Version': version});
}