McpMethodSpec class final
One MCP method as the schema defines it.
Constructors
-
McpMethodSpec(String method, McpDirection direction, bool isRequest, String messageType, String? paramsType, String? resultType, Set<
String> revisions) -
const
Properties
- direction → McpDirection
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRequest → bool
-
final
- messageType → String
-
Schema definition of the whole message.
final
- method → String
-
final
- paramsType → String?
-
Schema definition of
params, when the schema names one.final - resultType → String?
-
Schema definition of the result (requests only).
final
-
revisions
→ Set<
String> -
Sources that define it (core revisions,
ext-tasks/<rev>).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