Drone constructor Null safety

Drone(
  1. {String? status,
  2. double? batteryPercent,
  3. double? altitude,
  4. double? latitude,
  5. double? longitude,
  6. double? speed,
  7. double? roll,
  8. double? pitch,
  9. double? yaw}
)

Implementation

Drone({
  this.status,
  this.batteryPercent,
  this.altitude,
  this.latitude,
  this.longitude,
  this.speed,
  this.roll,
  this.pitch,
  this.yaw,
});