FerrySection constructor

FerrySection({
  1. required int startDistanceM,
  2. required int endDistanceM,
  3. required FerryType type,
})

Creates a FerrySection.

API users should not create instances of this class directly.

Parameters

  • startDistanceM: Distance in meters from the route start where the ferry section begins.
  • endDistanceM: Distance in meters from the route start where the ferry section ends.
  • type: The way the vehicle is carried over this section.

Implementation

FerrySection({
  required this.startDistanceM,
  required this.endDistanceM,
  required this.type,
});