AnnotationEntry<T> constructor Null safety

const AnnotationEntry<T>(
  1. {required T annotation,
  2. required Offset localPosition}
)

Create an entry of found annotation by providing the object and related information.

Implementation

const AnnotationEntry({
  required this.annotation,
  required this.localPosition,
}) : assert(localPosition != null);