zipMap function

Map zipMap(
  1. List names,
  2. List values
)

Implementation

Map<dynamic, dynamic> zipMap(List<dynamic> names, List<dynamic> values) =>
    <dynamic, dynamic>{
      for (int i = 0; i < names.length; i += 1) names[i]: values[i]
    };