operator == method
- Object other
override
Timetokens are compared based on their value.
Implementation
@override
bool operator ==(Object other) {
if (other is Timetoken) {
return value == other.value;
} else {
return value == other;
}
}