Дарт содержит метод

void main(){
   var x = "This is a string.";
   var y = "a";
   var match = x.contains(y);
 
   print(match);
}
Professional snake killer