removeFirstAndLastAny method

String? removeFirstAndLastAny(
  1. List<String?> patterns
)

Continuously removes from the beginning & the end of the String, any match in patterns.

Implementation

String? removeFirstAndLastAny(List<String?> patterns) =>
    removeFirstAny(patterns).removeLastAny(patterns);