XmlElementInfo constructor

XmlElementInfo({
  1. required String name,
  2. Map<String, String> attributes = const {},
  3. String? content,
  4. List<String>? comments,
  5. bool isSelfClosing = false,
})

Default constructor.

Implementation

XmlElementInfo({
  required this.name,
  this.attributes = const {},
  this.content,
  this.comments,
  this.isSelfClosing = false,
});