title: How to check one string contains another sub string in dart/flutter
body: <p>I want to check weather a String contains or not a specific substring in dart/flutter.</p>
  <p>example</p>
  <pre><code>String mainString = &quot;toyota allion 260 2010&quot;;
  String substring = &quot;allion&quot;;
  </code></pre>
  <p>I want to check weather substring is in the mainString or not?</p>
  <p>Please help me to find a solution</p>