apply method

String? apply(
  1. String? input
)

Applies the replacement rule to the given input string

Implementation

String? apply(String? input) =>
    input?.replaceAll(pattern, replacementInCorrectCase);