hasEqualProperties method

  1. @override
bool hasEqualProperties(
  1. covariant RepeatingCharacterParser other
)
override

Compare the properties of two parsers.

Override this method in all subclasses that add new state.

Implementation

@override
bool hasEqualProperties(RepeatingCharacterParser other) =>
    super.hasEqualProperties(other) &&
    predicate.isEqualTo(other.predicate) &&
    message == other.message &&
    min == other.min &&
    max == other.max;