Dive constructor

Dive(
  1. String hash, {
  2. required int? diveTime,
  3. required double? maxDepth,
  4. required double? avgDepth,
  5. required double? atmospheric,
  6. required double? temperatureSurface,
  7. required double? temperatureMinimum,
  8. required double? temperatureMaximum,
  9. required int? diveMode,
  10. required DateTime? dateTime,
  11. required Salinity? salinity,
  12. required List<Gasmix>? gasmixes,
  13. required List<Tank>? tanks,
  14. required List<Sample> samples,
})

Implementation

Dive(
  this.hash, {
  required this.diveTime,
  required this.maxDepth,
  required this.avgDepth,
  required this.atmospheric,
  required this.temperatureSurface,
  required this.temperatureMinimum,
  required this.temperatureMaximum,
  required this.diveMode,
  required this.dateTime,
  required this.salinity,
  required this.gasmixes,
  required this.tanks,
  required this.samples,
});