equals method

bool equals(
  1. String term
)

Implementation

bool equals(String term) => token == term;