isHtml static method

bool isHtml(
  1. String? body
)

Implementation

static bool isHtml(String? body) {
  if (body == null) return false;
  final trimmed = body.trimLeft();
  return trimmed.startsWith('<');
}