createStdioTransport static method
Create a stdio transport with the given configuration
Implementation
static Future<Result<StdioClientTransport, Exception>> createStdioTransport({
required String command,
List<String> arguments = const [],
String? workingDirectory,
Map<String, String>? environment,
}) {
return Results.catchingAsync(
() => StdioClientTransport.create(
command: command,
arguments: arguments,
workingDirectory: workingDirectory,
environment: environment,
),
);
}