operator == method Null safety
- Object other
override
Compares whether:
otheris Token;- zone ==
other.zone; - term ==
other.term; and - termPosition ==
other.termPosition.
Implementation
@override
bool operator ==(Object other) =>
other is Token &&
term == other.term &&
zone == other.zone &&
termPosition == other.termPosition;