Map.addAll() #6415
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-duplicate
Closed in favor of an existing report
type-enhancement
A request for a change that isn't a bug
In my code, I recently found myself doing:
environment.forEach((key, value) => options.environment[key] = value);
Today, I find myself reviewing code that defines:
void mapAddAll(Map destination, Map source) =>
source.forEach((key, value) => destination[key] = value);
Maybe Map should have an addAll() method that does this?
The text was updated successfully, but these errors were encountered: