byId method

T? byId(
  1. String id
)

get the an annotation by its id

Implementation

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