contains function

bool contains(
  1. String str,
  2. Object seed
)

check if the string contains the seed

Implementation

bool contains(String str, Object seed) => str.contains(seed.toString());