byId method

T? byId(
  1. String id
)

Returns the annotation with the given id, or null if not found.

Implementation

T? byId(String id) => _idToAnnotation[id];