xmlBuilder property

  1. @JsonKey.new(includeFromJson: false, includeToJson: false)
String Function(Map<String, dynamic> json)? xmlBuilder
getter/setter pair

Returns a function that builds an XML string from a JSON map.

Subclasses should override this getter to supply their XML builder, or set it externally, if applicable. If not provided, toXml() will throw.

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
String Function(Map<String, dynamic> json)? xmlBuilder;