mappedRoutes property

Map<String, PheasantTemplate> mappedRoutes

The routes and their corresponding components as a Map

Implementation

Map<String, PheasantTemplate> get mappedRoutes =>
    {for (var r in routes) r.path: r.component};