Comment constructor

Comment([
  1. String? value
])

Implementation

factory Comment([String? value]) {
  if (value != null && value.contains('-->')) {
    throw ArgumentError.value(value);
  }
  return Comment.internal(window.document, value ?? '');
}