different static method

Rule different(
  1. String other
)

different: differs from other.

Implementation

static Rule different(String other) => SameRule(other, negate: true);