annotations property

List<Annotation> annotations

Implementation

List<Annotation> get annotations {
  final genericAnnotations = <Annotation>[];

  if (landmarkAnnotationList != null) {
    genericAnnotations.addAll(landmarkAnnotations);
  }

  if (labelAnnotationList != null) {
    genericAnnotations.addAll(labelAnnotations);
  }

  if (logoAnnotationList != null) {
    genericAnnotations.addAll(logoAnnotations);
  }

  if (textAnnotationsList != null) {
    genericAnnotations.addAll(textAnnotations);
  }

  if (localizedObjectAnnotationList != null) {
    genericAnnotations.addAll(localizedObjectAnnotations);
  }

  return genericAnnotations;
}