Climb constructor

Climb({
  1. required int id,
  2. String? clid,
  3. int? sessionId,
  4. int? routeId,
  5. String? routeClid,
  6. required String date,
  7. String? time,
  8. String? routeName,
  9. GradeInfo? grades,
  10. required ClimbType type,
  11. required FinishType finishType,
  12. int attempts = 1,
  13. int repeats = 0,
  14. bool isRepeat = false,
  15. BelayType? belayType,
  16. int? duration,
  17. int? falls,
  18. double? height,
  19. int? rating,
  20. String? notes,
  21. List<String>? tags,
  22. String? beta,
  23. Media? media,
  24. String? color,
  25. RockType? rockType,
  26. TerrainType? terrainType,
  27. bool? isIndoor,
  28. List<String>? partners,
  29. String? weather,
  30. Map<String, dynamic>? customFields,
})

Creates a new Climb instance

Implementation

Climb({
  required this.id,
  this.clid,
  this.sessionId,
  this.routeId,
  this.routeClid,
  required this.date,
  this.time,
  this.routeName,
  this.grades,
  required this.type,
  required this.finishType,
  this.attempts = 1,
  this.repeats = 0,
  this.isRepeat = false,
  this.belayType,
  this.duration,
  this.falls,
  this.height,
  this.rating,
  this.notes,
  this.tags,
  this.beta,
  this.media,
  this.color,
  this.rockType,
  this.terrainType,
  this.isIndoor,
  this.partners,
  this.weather,
  this.customFields,
});