removeLastEqual method
- String? pattern
Removes the pattern
from the end of the String
.
Example
String s = "coolboy".removeLastEqual("y"); // returns "coolbo";
Implementation
String removeLastEqual(String? pattern) => removeLastAny([pattern]);