lastIndexOf method
Returns the starting position of the last match pattern
in this string,
searching backward starting at start
, inclusive:
Implementation
int? lastIndexOf(Pattern pattern, [int? start]) =>
value?.lastIndexOf(pattern, start);