AccidentDetail constructor

AccidentDetail({
  1. int? id,
  2. double? lat,
  3. double? lon,
  4. String? location,
  5. DateTime? date,
  6. String? severity,
  7. String? borough,
  8. List<Casualty>? casualties,
  9. List<Vehicle>? vehicles,
})

Implementation

AccidentDetail({
  this.id,
  this.lat,
  this.lon,
  this.location,
  this.date,
  this.severity,
  this.borough,
  this.casualties,
  this.vehicles,
});