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