addDefinition method

void addDefinition(
  1. CharacterDefinition definition
)

Adds a new character definition to the collection.

definition The character definition to add.

Implementation

void addDefinition(CharacterDefinition definition) {
  _definitions.add(definition);
}