TrafficLinePointEvent class
Represents a point event on the traffic line, such as road works or accidents. Contains the point's location, type of event, and a unique identifier.
- Annotations
Constructors
- TrafficLinePointEvent.new({required RoutePoint point, required TrafficLinePointEventType type, required int id})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int
-
final
- point → RoutePoint
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TrafficLinePointEventType
-
final
Methods
-
copyWith(
{RoutePoint? point, TrafficLinePointEventType? type, int? id}) → TrafficLinePointEvent -
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.
override