XmlMeta class

Metadata for XML formatting.

Represents XML-specific formatting information including attributes, CDATA sections, comments, and namespace declarations.

Constructors

XmlMeta({Map<String, String>? attributes, bool isCdata = false, String? comment, String? namespace, String? prefix})
Creates an XmlMeta instance.
const
XmlMeta.fromJson(Map<String, dynamic> json)
Creates from JSON map.
factory

Properties

attributes Map<String, String>?
XML attributes as key-value pairs.
final
comment String?
Comment text associated with this element.
final
hashCode int
The hash code for this object.
no setteroverride
isCdata bool
Whether this content is wrapped in CDATA.
final
namespace String?
The namespace URI.
final
prefix String?
The namespace prefix.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Map<String, String>? attributes, bool? isCdata, String? comment, String? namespace, String? prefix}) XmlMeta
Creates a copy with updated values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override