你也可以直接在 keys 上使用 forEach 方法来遍历键。 }; map.keys.forEach((key) { 使用map.keys 可以获取 Map 的所有键,并返回一个可迭代对象。 你可…