YamlRender class
A class that implements the Render interface to render data as YAML.
- Implemented types
Constructors
-
YamlRender(Map<
String, dynamic> data) -
Constructor for YamlRender that initializes the
datafield.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Response response) → void -
Renders the response by serializing data to YAML and writing it to the response.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
writeContentType(
Response response) → void -
Sets the content type of the response to 'application/x-yaml'.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited