isEqualTo method

  1. @override
bool isEqualTo(
  1. CharacterPredicate other
)
override

Compares the two predicates for equality.

Implementation

@override
bool isEqualTo(CharacterPredicate other) =>
    other is SingleCharPredicate && other.value == value;