copyWith method

Input$CheckAnnotationData copyWith({
  1. Enum$CheckAnnotationLevel? annotationLevel,
  2. Input$CheckAnnotationRange? location,
  3. String? message,
  4. String? path,
  5. String? rawDetails()?,
  6. String? title()?,
})

Implementation

Input$CheckAnnotationData copyWith(
        {Enum$CheckAnnotationLevel? annotationLevel,
        Input$CheckAnnotationRange? location,
        String? message,
        String? path,
        String? Function()? rawDetails,
        String? Function()? title}) =>
    Input$CheckAnnotationData(
        annotationLevel:
            annotationLevel == null ? this.annotationLevel : annotationLevel,
        location: location == null ? this.location : location,
        message: message == null ? this.message : message,
        path: path == null ? this.path : path,
        rawDetails: rawDetails == null ? this.rawDetails : rawDetails(),
        title: title == null ? this.title : title());