Leg constructor

Leg({
  1. String? duration,
  2. int? distanceMeters,
})

Implementation

Leg({this.duration, this.distanceMeters});