TrafficParameters class
Parameters for traffic event providing additional information.
Use the TrafficEvent.getPreviewData method to obtain an instance of this class.
Constructors
- TrafficParameters({required String id, required int iconId, required int alertc, required int delay, required String description, required DateTime startStamp, required DateTime endStamp, required String from, required String to, required RouteTransportMode transportMode})
-
TrafficParameters.fromParameters(List<
GemParameter> params) -
factory
Properties
- alertc → int
-
final
- delay → int
-
final
- description → String
-
final
- endStamp → DateTime
-
final
- from → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconId → int
-
final
- id → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startStamp → DateTime
-
final
- to → String
-
final
- transportMode → RouteTransportMode
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited