ElectricBikeProfile constructor

ElectricBikeProfile({
  1. ElectricBikeType type = ElectricBikeType.pedelec,
  2. double bikeMass = 0.0,
  3. double bikerMass = 0.0,
  4. double auxConsumptionDay = 0.0,
  5. double auxConsumptionNight = 0.0,
  6. bool ignoreLegalRestrictions = false,
})

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,
});