contains method

bool contains(
  1. String needle
)

Determines if the user agent string contains the desired string. Case-insensitive.

Implementation

bool contains(String needle) => _lowerValue.contains(needle.toLowerCase());