RouteReference class final

Mention một route: stops bắt buộc (≤ 30, theo thứ tự); plan = id trip-plan chứa route. Không gửi hình học tuyến.

Inheritance

Constructors

RouteReference({required String id, required String label, required List<ReferenceStop> stops, String? routeType, int? day, String? date, num? distanceKm, num? durationMin, String? plan})
const

Properties

date → String?
final
day → int?
final
distanceKm → num?
final
durationMin → num?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Id trong Component Memory.
finalinherited
label → String
Tên người dùng thấy — chính là token @<label> (≤ 120).
finalinherited
plan → String?
final
routeType → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stops → List<ReferenceStop>
final
type → String
"marker" · "popup" · "route" · "trip-plan".
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited