operator []= method
Implementation
void operator []=(String key, String value) {
int? index = findIndex(key);
if (index != null) {
try {
arguments[index + 1] = value;
} catch (e) {
arguments.add(value);
}
} else {
arguments.addAll([
key,
value,
]);
}
}