flatQueryParams function

  1. @visibleForTesting
Map<String, String> flatQueryParams(
  1. dynamic data,
  2. Shape? shape,
  3. Map<String, Shape> shapes,
  4. String version,
  5. String action,
)

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});
}