Initializes a new Param map with an initial key/value pair. amadeus.get("/foo/bar", Params.with("first_name", "John")); @param key the key for the parameter to send to the API @param value the value for the given key @return the Param object, allowing for convenient chaining
(@NonNull String key, Object value)
| 33 | * @return the Param object, allowing for convenient chaining |
| 34 | */ |
| 35 | public static Params with(@NonNull String key, Object value) { |
| 36 | return new Params().and(key, value); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Adds another key/value pair to the Params map. Automatically |