dart contains() function code example
Example: dart contains method
void main(){
var x = "This is a string.";
var y = "a";
var match = x.contains(y);
print(match);
}
void main(){
var x = "This is a string.";
var y = "a";
var match = x.contains(y);
print(match);
}