Render class abstract
The Render interface is designed to be implemented by various formats such as JSON, XML, HTML, etc. It provides a contract for rendering data to a response and writing the appropriate content type to the response headers.
Constructors
- Render()
Properties
- 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) → FutureOr< void> -
Renders data to the given
response. -
toString(
) → String -
A string representation of this object.
inherited
-
writeContentType(
Response response) → void -
Writes the content type to the headers of the given
response.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited