hasMatchForAll static method

bool hasMatchForAll(
  1. String text
)

Implementation

static bool hasMatchForAll(String text) {
  /// In iOS the spacial messages it a little bit different
  if (Platform.isIOS) {
    text = text.replaceAll('.', '');
    text = text.replaceRange(0, 1, '');
  }
  return hasMatch(text, youDeletedThisMessage) ||
      hasMatch(text, mediaOmitted) ||
      hasMatch(text, thisMessageWasDeleted);
}