XmlRender class

A class that implements the Render interface to render data as XML.

Implemented types

Constructors

XmlRender(dynamic data)
Constructor to initialize the XmlRender with the given data.

Properties

data → dynamic
The data to be rendered as XML.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(Response response) → void
Renders the response by converting the data to XML and writing it to the response.
override
toString() String
A string representation of this object.
inherited
writeContentType(Response response) → void
Sets the 'Content-Type' header of the response to 'application/xml; charset=utf-8'.
override

Operators

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