summarizeStatuses function
- @Deprecated('The method will be removed from public API.')
- Iterable<
ReportStatus> statuses
Returns the lowest of statuses to represent them.
Implementation
@Deprecated('The method will be removed from public API.')
ReportStatus summarizeStatuses(Iterable<ReportStatus> statuses) {
return statuses.fold(ReportStatus.passed, (a, b) => minStatus(a, b)!);
}