ElectricBikeProfile constructor
Default constructor ElectricBikeProfile
Parameters
- IN type eBike type
- IN bikeMass bike mass in kg
- IN bikerMass biker mass in kg
- IN auxConsumptionDay bike auxiliary power consumption during day in Watts
- IN auxConsumptionNight bike auxiliary power consumption during night in Watts
- IN ignoreLegalRestrictions ignore country based legal restrictions related to e-bikes
Implementation
ElectricBikeProfile({
this.type = ElectricBikeType.pedelec,
this.bikeMass = 0.0,
this.bikerMass = 0.0,
this.auxConsumptionDay = 0.0,
this.auxConsumptionNight = 0.0,
this.ignoreLegalRestrictions = false,
});