MethodConnector class
The MethodConnector hooks up a method with its name and the actual call to the method.
- Inheritance
-
- Object
- EndpointMethodConnector
- MethodConnector
Constructors
-
MethodConnector({required String name, required Map<
String, ParameterDescription> params, required MethodCall call, bool? returnsVoid}) - Creates a new MethodConnector.
Properties
- call → MethodCall
-
A function that performs a call to the named method.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the method.
finalinherited
-
params
→ Map<
String, ParameterDescription> -
List of parameters used by the method.
finalinherited
- returnsVoid → bool?
-
True if the method returns void.
If null, no assumption can be made about the return value.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited