Reduce complexity of the RideParameters model by removing the builder associated with it.
RideParameters represents the set of parameters sent via a deeplink, ride request widget, or the ride estimate/request API endpoints.
In the previous implementation, the primary thing the builder added was to ensure that the RideParameters were immutable. However, I don't think there is a huge issue around mutability with this model, and the builder pattern is not super common in Swift anyways.
Reduce complexity of the
RideParameters
model by removing the builder associated with it.RideParameters
represents the set of parameters sent via a deeplink, ride request widget, or the ride estimate/request API endpoints.In the previous implementation, the primary thing the builder added was to ensure that the
RideParameters
were immutable. However, I don't think there is a huge issue around mutability with this model, and the builder pattern is not super common in Swift anyways.