maxAnnotation property

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

Implementation

@JsonKey(includeToJson: false, includeFromJson: false)
Annotation? get maxAnnotation {
  final lastOrNull = annotationsSorted.lastOrNull;
  if (lastOrNull?.value == maximum) {
    return lastOrNull;
  }
  return null;
}