fromMaps static method
Creates a new AnyValueMap by merging two or more maps. Maps defined later in the list override values from previously defined maps.
maps
an array of maps to be merged Returns a newly created AnyValueMap.
Implementation
static AnyValueMap fromMaps(List? maps) {
var result = AnyValueMap();
if (maps != null && maps.isNotEmpty) {
for (var index = 0; index < maps.length; index++) {
result.append(maps[index]);
}
}
return result;
}