JsonFunctionTarget<RequestType, ResponseType> class
abstract
- Inheritance
-
- Object
- FunctionTarget
- JsonFunctionTarget
Constructors
-
JsonFunctionTarget(JsonHandler<
RequestType, ResponseType> function, RequestType fromJson(Object?)) -
factory
-
JsonFunctionTarget.voidResult(JsonHandler<
RequestType, ResponseType> function, RequestType fromJson(Object?)) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → FunctionType
-
no setterinherited
Methods
-
handler(
Request request) → FutureOr< Response> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited