transformAll method Null safety

String transformAll(
  1. String input,
  2. String output,
  3. {Map<String, dynamic>? variables,
  4. bool math = false,
  5. bool strict = false}
)

Returns a new string with every instance of this matched within input replaced with new text as defined by the output template.

Implementation

String transformAll(
  String input,
  String output, {
  Map<String, dynamic>? variables,
  bool math = false,
  bool strict = false,
}) =>
    RegexTransformer(
      regex: this,
      output: output,
      variables: variables,
      math: math,
      strict: strict,
    ).transformAll(input);