operator + method

  1. @override
AnnotationResult operator +(
  1. AnnotationResultLike? other
)
override

Combines this with another AnnotationResultLike.

Implementation

@override
AnnotationResult operator +(AnnotationResultLike? other) {
  return AnnotationResult(messages: [this, ...?other?.asAnnotationResult().messages]);
}