addAnnotation method
Implementation
Annotation addAnnotation({required int value, required String label}) {
final annotation = Annotation()
..value = value
..annotation = label;
annotations.add(annotation);
return annotation;
}
Annotation addAnnotation({required int value, required String label}) {
final annotation = Annotation()
..value = value
..annotation = label;
annotations.add(annotation);
return annotation;
}