discontinuedPackage flutter_censor_it has been discontinued and replaced by censor_it_flutter.

getMatches method

List<RegExpMatch> getMatches()

Returns the list of profanity matches found in the text.

Implementation

List<RegExpMatch> getMatches() => censorIt.matches;