toAny

Converts a ServiceEndpoint back to a raw value (String, Map, or List).

Return

The endpoint as Any for interop with untyped consumers