operator == method Null safety
- Object other
override
Compares only whether:
Implementation
@override
bool operator ==(Object other) =>
other is Sentence &&
source == other.source &&
tokens.length == other.tokens.length;
Compares only whether:
@override
bool operator ==(Object other) =>
other is Sentence &&
source == other.source &&
tokens.length == other.tokens.length;