SurfaceSection constructor

SurfaceSection({
  1. required int startDistanceM,
  2. required SurfaceType type,
})

Creates a surface section.

Usually the API user does not create instances directly.

Parameters

  • startDistanceM: Distance in meters where the section starts.
  • type: The SurfaceType for this section.

Implementation

SurfaceSection({required this.startDistanceM, required this.type});