DrivingAnnotation constructor

DrivingAnnotation(
  1. DrivingAction? action,
  2. String? toponym,
  3. String descriptionText,
  4. DrivingActionMetadata actionMetadata,
  5. List<DrivingLandmark> landmarks,
  6. DrivingToponymPhrase? toponymPhrase,
)

Implementation

factory DrivingAnnotation(
        directions_driving_action.DrivingAction? action,
        core.String? toponym,
        core.String descriptionText,
        DrivingActionMetadata actionMetadata,
        core.List<directions_driving_landmark.DrivingLandmark> landmarks,
        DrivingToponymPhrase? toponymPhrase) =>
    DrivingAnnotationImpl(action, toponym, descriptionText, actionMetadata,
        landmarks, toponymPhrase);