calculateDuration method

Duration calculateDuration(
  1. RoutePoint fromRoutePoint,
  2. RoutePoint toRoutePoint
)

Implementation

Duration calculateDuration(
  RoutePoint fromRoutePoint,
  RoutePoint toRoutePoint
)  {
  var _a1 = fromRoutePoint._copyFromDartTo_CRoutePoint();
  var _a2 = toRoutePoint._copyFromDartTo_CRoutePoint();
  _CTimeInterval res = _CMillisecondsRouteAttribute_calculateDuration_CRoutePoint_CRoutePoint(_CMillisecondsRouteAttributeMakeDefault().._impl=_self, _a1, _a2);
  return res._toDart();
}