applyToParams method
Apply the resolved auth to the given parameters. The generated
client builds a Map<String, List<String>> (every value a list, so
Uri.replace can spread arrays across repeated keys). Auth-injected
values are always single scalar strings, so they wrap into a
1-element list at the boundary.
Implementation
void applyToParams(Map<String, List<String>> params) {
for (final entry in this.params.entries) {
params[entry.key] = [entry.value];
}
}