dependentsOf method

({List<String> along, List<String> stops}) dependentsOf(
  1. String routeId
)

Marker phụ thuộc route: điểm dừng và marker bám.

Implementation

({List<String> stops, List<String> along}) dependentsOf(String routeId) {
  final o = byOwner[routeId];
  return (
    stops: o == null ? <String>[] : [...o.stops],
    along: o == null ? <String>[] : [...o.along],
  );
}