isHtml static method

bool isHtml(
  1. String? value
)

Implementation

static bool isHtml(String? value) {
  if (value == null || value.isEmpty) return false;
  return RegExp(r'^<.+>').hasMatch(value);
}