replacementString:

'replacedPattern'

);

formatter

BlacklistingTextInputFormatter

singleLineFormatter

pattern

formatter

blacklistedPattern

formatter

WhitelistingTextInputFormatter

pattern

);

formatter

WhitelistingTextInputFormatter

digitsOnly

pattern

formatter

whitelistedPattern

Code after migration:

formatter

FilteringTextInputFormatter

deny

pattern

replacementString:

'replacedPattern'

);

formatter

FilteringTextInputFormatter

singleLineFormatter

pattern

formatter