hasEqualProperties method
Compare the properties of two parsers.
Override this method in all subclasses that add new state.
Implementation
@override
bool hasEqualProperties(MapParser<R, S> other) =>
super.hasEqualProperties(other) &&
callback == other.callback &&
hasSideEffects == other.hasSideEffects;