has method

bool has(
  1. String? value
)

Implementation

bool has(String? value) {
  if (this == null) return false;
  if (this!.isEmpty) return false;
  return this!.contains(value!);
}