toPb method
Implementation
Path toPb() => Path(
id: uuidStringToPb(id),
createdOn: dateTimeToPb(createdOn),
chartId: uuidStringToPb(chartId),
reference: reference.toPb(),
waypoints: [for (final wp in waypoints) wp.toPb()],
waypointEdges: [for (final wpe in waypointEdges) wpe.toPb()],
);