FlowPort class abstract

Abstract port for bidirectional Flow definition ↔ bundle transformation.

Read adapters implement toDefinition and toFlowInfo. Write adapters implement fromDefinition. Single-direction adapters throw UnsupportedError for unsupported methods.

Constructors

FlowPort()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromDefinition(Map<String, dynamic> definitionJson) Future<FlowResult<FlowWriteOutput>>
Write: Convert Flow definition JSON into bundle-compatible sections.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDefinition(McpBundle bundle) Future<FlowResult<Map<String, dynamic>>>
Read: Convert McpBundle into runtime-consumable Flow definition JSON.
toFlowInfo(McpBundle bundle) Future<FlowResult<Map<String, dynamic>>>
Read: Extract lightweight Flow info for discovery/listing.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited