XMLNode.xmlns constructor

XMLNode.xmlns(
  1. {required String tag,
  2. required String xmlns,
  3. Map<String, String> attributes = const <String, String>{},
  4. List<XMLNode> children = const [],
  5. bool closeTag = true,
  6. String? text}
)

Implementation

XMLNode.xmlns({
  required this.tag,
  required String xmlns,
  Map<String, String> attributes = const <String, String>{},
  this.children = const [],
  this.closeTag = true,
  this.text,
})  : attributes = <String, String>{'xmlns': xmlns, ...attributes},
      isDeclaration = false;