SimpleEndpoint class
- Inheritance
-
- Object
- Component
- CallingComponent
- Endpoint
- SimpleEndpoint
- Implementers
Constructors
-
SimpleEndpoint(FutureOr<
Object> onRequest(Request request, BuildContext context), {EndpointPreferredType? preferredType}) - SimpleEndpoint.static(Object body)
Properties
- context → BuildContext
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
finalinherited
-
onRequest
→ FutureOr<
Object> Function(Request request, BuildContext context) -
final
- preferredType → EndpointPreferredType?
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createBinding(
) → CallingBinding -
inherited
-
createCalling(
BuildContext context) → Calling -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCall(
Request request) → FutureOr< Object> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
toStringDeep(
) → String -
inherited
-
toStringSort(
) → String -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited