indexOfCharacter method

int indexOfCharacter(
  1. String id
)

The current index of the character with id, or -1 if deleted.

Implementation

int indexOfCharacter(String id) => _chars.indexOfId(id);