add method

void add(
  1. GlossaryItem item
)

Implementation

void add(GlossaryItem item) => items[item.id] = item;