hasEqualProperties method

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

Compares the properties of this parser with other.

Overridden in subclasses that add new state.

Implementation

@override
bool hasEqualProperties(PatternParser other) =>
    super.hasEqualProperties(other) &&
    pattern == other.pattern &&
    message == other.message;