Route constructor
Route({
- required int id,
- String? clid,
- required int locationId,
- int? sectorId,
- required String name,
- required RouteType routeType,
- RouteCharacteristics? routeCharacteristics,
- Map<
String, String> ? grades, - double? height,
- String? color,
- FirstAscent? firstAscent,
- ProtectionRating? protectionRating,
- int? qualityRating,
- String? beta,
- String? gearNotes,
- List<
String> ? tags, - Media? media,
- QrCode? qrCode,
- DateTime? createdAt,
- DateTime? updatedAt,
- Map<
String, dynamic> ? customFields,
Creates a new Route instance
Implementation
Route({
required this.id,
this.clid,
required this.locationId,
this.sectorId,
required this.name,
required this.routeType,
this.routeCharacteristics,
this.grades,
this.height,
this.color,
this.firstAscent,
this.protectionRating,
this.qualityRating,
this.beta,
this.gearNotes,
this.tags,
this.media,
this.qrCode,
this.createdAt,
this.updatedAt,
this.customFields,
});