TripPlanDayReference class

Một ngày của reference trip-plan: route routeId của ngày day.

Constructors

TripPlanDayReference({required int day, required String routeId, required String label, required List<ReferenceStop> stops, String? date})
const

Properties

date → String?
"YYYY-MM-DD" — chỉ khi app biết (lịch đã chọn).
final
day → int
final
hashCode → int
The hash code for this object.
no setteroverride
label → String
final
routeId → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stops → List<ReferenceStop>
final

Methods

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

Operators

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

Static Methods

fromJson(Object? json) → TripPlanDayReference?
Đọc lỏng; thiếu khoá bắt buộc → null. Điểm dừng hỏng bị bỏ.