routeMap property

Map<String, Route> get routeMap

Implementation

Map<String, Route> get routeMap => charts
    .map(
      (chart) => chart.routeMap,
    ) // Map each chart to its `routeMap` or an empty map
    .fold<Map<String, Route>>({}, (acc, routeMap) {
      acc.addAll(
        routeMap,
      ); // Merge the current chart's routeMap into the accumulator
      return acc; // Return the updated accumulator
    });