minAnnotation property

  1. @JsonKey(includeToJson: false, includeFromJson: false)
Annotation? get minAnnotation

Implementation

@JsonKey(includeToJson: false, includeFromJson: false)
Annotation? get minAnnotation {
  final firstOrNull = annotationsSorted.firstOrNull;
  if (firstOrNull?.value == minimum) {
    return firstOrNull;
  }
  return null;
}