ScheduleAtStop class
Represents a schedule at a stop.
Constructors
-
ScheduleAtStop({required List<
ScheduleArrival> arrivals, required Stop stop}) -
Creates a new ScheduleAtStop.
const
- ScheduleAtStop.empty()
-
Creates an empty ScheduleAtStop.
const
-
ScheduleAtStop.fromJson(Map<
String, dynamic> json) -
Creates a new ScheduleAtStop from a JSON object.
factory
Properties
-
arrivals
→ List<
ScheduleArrival> -
Array containing scheduled arrival information.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isEmpty → bool
-
Whether or not this ScheduleAtStop is empty.
no setter
- isNotEmpty → bool
-
Whether or not this ScheduleAtStop is not empty.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stop → Stop
-
Stop information.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a JSON representation of this object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override