indexOfPartByTex method

int indexOfPartByTex(
  1. String tex, {
  2. bool substring = true,
  3. bool caseSensitive = true,
})

Implementation

int indexOfPartByTex(String tex,
    {bool substring = true, bool caseSensitive = true}) {
  var part =
      getPartByTex(tex, substring: substring, caseSensitive: caseSensitive);
  return indexOfPart(part);
}