Climb constructor
Climb({
- required int id,
- String? clid,
- int? sessionId,
- int? routeId,
- String? routeClid,
- required String date,
- String? time,
- String? routeName,
- GradeInfo? grades,
- required ClimbType type,
- required FinishType finishType,
- int attempts = 1,
- int repeats = 0,
- bool isRepeat = false,
- BelayType? belayType,
- int? duration,
- int? falls,
- double? height,
- int? rating,
- String? notes,
- List<
String> ? tags, - String? beta,
- Media? media,
- String? color,
- RockType? rockType,
- TerrainType? terrainType,
- bool? isIndoor,
- List<
String> ? partners, - String? weather,
- 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,
});