Server.method.of: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/server.bend as Server Lines 236-240 of ezmcp@0.1.0.0/src/server.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/server.bend&start_line=236&end_line=240 import Base def method.of(+meth: String) -> Method: Bool.pick(Method, String.eq(meth, "initialize"), Initialize{}, Bool.pick(Method, String.eq(meth, "ping"), Ping{}, Bool.pick(Method, String.eq(meth, "tools/list"), ListTools{}, Bool.pick(Method, String.eq(meth, "tools/call"), CallTool{}, Other{})))) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/server.bend&name=Method