operator [] method

CheckResult? operator [](
  1. String id
)

The result of the check id, or null.

Implementation

CheckResult? operator [](String id) => results.where((r) => r.id == id).firstOrNull;