removeAll method

String removeAll(
  1. String source
)

Example: expect(FluentRegex().literal('a').removeAll('bababa'), 'bbb');

Implementation

String removeAll(String source) => source.replaceAll(_toRegExp(), '');