toPb method
Implementation
Chart toPb() {
return Chart(
id: uuidStringToPb(id),
info: info.toPb(),
reference: reference.toPb(),
routes: [for (final route in routes) route.toPb()],
trips: [for (final trip in trips) trip.toPb()],
waypoints: [for (final wp in waypoints) wp.toPb()],
waypointEdges: [for (final wpe in waypointEdges) wpe.toPb()],
);
}