matches method

bool matches(
  1. String text
)

Implementation

bool matches(String text) =>
    "$name $description".toLowerCase().contains(text.toLowerCase());