toLocalLocations method

Map<int, Offset> toLocalLocations (
  1. Map<int, Offset> globalLocations
)

Implementation

Map<int, Offset> toLocalLocations(Map<int, Offset> globalLocations) {
  var localMap = Map<int, Offset>();
  globalLocations.forEach((k, v) {
    localMap[k] = v;
  });
  return localMap;
}