matches method

bool matches(
  1. Iterable<Variant> otherVariants
)

Implementation

bool matches(Iterable<Variant> otherVariants) =>
    otherVariants.contains(variant);