matchesTokens static method

bool matchesTokens(
  1. AFBaseTestID id,
  2. List<String> tokens
)

Implementation

static bool matchesTokens(AFBaseTestID id, List<String> tokens) {
  final idLower = id.code.toLowerCase();
  for(final token in tokens) {
    if(!idLower.contains(token)) {
      return false;
    }
  }
  return true;
}