NavigationLeg constructor

NavigationLeg({
  1. double? duration,
  2. double? distance,
  3. List<NavigationStep>? steps = const <NavigationStep>[],
  4. String? summary,
  5. NavigationAnnotation? annotation,
})

Implementation

NavigationLeg({
  this.duration,
  this.distance,
  this.steps = const <NavigationStep>[],
  this.summary,
  this.annotation,
});