tail abstract method

RoutePath tail(
  1. double advance
)

Returns the route segment after advance meters. advance distance along route (meters). Returns route tail segment.

Example:

// Get tail of route (remaining after 10 meters)
RoutePath? tailPath = path.tail(10.0);
if (tailPath != null) {
 print("Tail path length: ${tailPath.length} meters");
}

Implementation

RoutePath tail(double advance);