Creates a container for bike/e-bike profile selection.
Optionaloptions: { eProfile?: ElectricBikeProfile; profile?: BikeProfile }Configuration options
OptionaleProfile?: ElectricBikeProfileOptional ElectricBikeProfile when using an e-bike.
Optionalprofile?: BikeProfileSelected bike profile (default BikeProfile.city).
OptionaleSelected e-bike profile.
Selected bike profile. Default is BikeProfile.city.
Check equality with another BikeProfileElectricBikeProfile
Get hash code for use in maps/sets
InternalSerializes this instance to a JSON-compatible map.
Used internally, not intended for direct use by consumers. The map structure may change without notice.
JSON-compatible map
StaticfromInternalDeserializes a JSON-compatible map to create an instance.
Used internally, not intended for direct use by consumers. The expected map structure may change without notice.
JSON-compatible map
A new BikeProfileElectricBikeProfile instance
Bike and electric bike routing profile.
Container used to select a standard bike profile or an electric-bike profile for routing. The profile field selects the general cycling behaviour (city, road, etc.) while eProfile holds optional electric-specific parameters.