Loading...
Searching...
No Matches
TargetReachedEvent Class Reference

Event indicating the route target has been reached. More...

Public Member Functions

 TargetReachedEvent (this.index, this.point)
 Default constructor.
 

Public Attributes

int index
 Index of reached target in target list.
 
LocationPoint point
 Location point where target was reached.
 

Detailed Description

Event indicating the route target has been reached.

Referenced from RouteEvent.

Definition at line 20 of file target_reached_event.dart.

Constructor & Destructor Documentation

◆ TargetReachedEvent()

TargetReachedEvent.TargetReachedEvent ( this. index,
this. point )

Default constructor.

Member Data Documentation

◆ index

int TargetReachedEvent.index

Index of reached target in target list.

Dart code snippet:

int index = event.index;
print("Reached target index: $index");

Definition at line 33 of file target_reached_event.dart.

◆ point

LocationPoint TargetReachedEvent.point

Location point where target was reached.

Dart code snippet:

LocationPoint point = event.point;
_demonstrateLocationPointUsage(point);

Definition at line 44 of file target_reached_event.dart.


The documentation for this class was generated from the following file: