DrivingEvent constructor

DrivingEvent(
  1. PolylinePosition polylinePosition,
  2. String eventId,
  3. String? descriptionText,
  4. List<RoadEventsEventTag> tags,
  5. Point location,
  6. double? speedLimit,
)

Implementation

factory DrivingEvent(
        mapkit_geometry_geometry.PolylinePosition polylinePosition,
        core.String eventId,
        core.String? descriptionText,
        core.List<mapkit_road_events_event_tag.RoadEventsEventTag> tags,
        mapkit_geometry_point.Point location,
        core.double? speedLimit) =>
    DrivingEventImpl(polylinePosition, eventId, descriptionText, tags,
        location, speedLimit);