WaController class

A base class for controllers in the web application.

This class implements the RouteRepos interface and provides a basic implementation for handling web requests. It includes a method for rendering the index and a method for providing a string representation of the controller instance.

Implemented types
Implementers

Constructors

WaController(WebRequest rq)
Creates a WaController instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
rq WebRequest
The WebRequest object representing the current web request.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

index() Future<String>
Provides an asynchronous method for rendering the index page of the controller.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString({dynamic short = false}) String
Returns a string representation of the controller.
override

Operators

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