Dart contiene método

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