Element class abstract
- Implemented types
- Implementers
Constructors
- Element(Widget _widget, ContextRequest request, GetSocket? getSocket)
- Creates an element that uses the given widget sas its configuration.
Properties
- getSocket → GetSocket?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → Method
-
no setterinherited
- request → ContextRequest
-
final
- response → ContextResponse?
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget → Widget
-
no setter
Methods
-
close(
) → Future -
override
-
file(
String name, {Encoding encoder = utf8}) → Future< MultipartUpload> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pageNotFound(
) → Future -
override
-
param(
String name) → String? -
override
-
payload(
{Encoding encoder = utf8}) → Future< Map?> -
override
-
performRebuild(
) → void -
send(
Object string) → Future -
override
-
sendBytes(
List< int> data) → Future -
override
-
sendHtml(
String path) → Future -
override
-
sendJson(
Object string) → Future? -
override
-
statusCode(
int code) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited