bikeProfile property
Bicycle routing profile for standard and electric bikes.
Configure bike-specific routing preferences including bike type (road, mountain, city, cross) and electric bike parameters (mass, auxiliary consumption). Only used when transportMode is RouteTransportMode.bicycle.
Default is null (no bike profile).
Implementation
BikeProfileElectricBikeProfile get bikeProfile {
final OperationResult resultString = objectMethod(
pointerId,
'RoutePrefWrapper',
'getBikeProfile',
);
return BikeProfileElectricBikeProfile.fromJson(resultString['result']);
}
Bicycle routing profile for standard and electric bikes.
Configure bike-specific routing preferences including bike type (road, mountain, city, cross) and electric bike parameters (mass, auxiliary consumption). Only used when transportMode is RouteTransportMode.bicycle.
Parameters
value: The bike profile configuration to use.
Default is null (no bike profile).
Implementation
set bikeProfile(final BikeProfileElectricBikeProfile value) {
objectMethod(
pointerId,
'RoutePrefWrapper',
'bikeprofile',
args: value.toJson(),
);
}