isHTML function

bool isHTML(
  1. String str
)

Implementation

bool isHTML(String str) {
  final RegExp htmlRegExp = RegExp('<[^>]*>', multiLine: true, caseSensitive: false);
  return htmlRegExp.hasMatch(str);
}