Battery constructor

Battery({
  1. int? level,
  2. String? health,
  3. String? status,
  4. String? powerSource,
  5. String? technology,
  6. String? temperature,
  7. String? voltage,
  8. String? powerProfile,
})

constructor for the battery class.

Implementation

Battery({
  this.level,
  this.health,
  this.status,
  this.powerSource,
  this.technology,
  this.temperature,
  this.voltage,
  this.powerProfile,
});