Location constructor
Location({
- required int id,
- String? clid,
- required String name,
- required bool isIndoor,
- String? country,
- String? state,
- String? city,
- String? address,
- Coordinates? coordinates,
- bool starred = false,
- RockType? rockType,
- TerrainType? terrainType,
- String? accessInfo,
- Media? media,
- DateTime? createdAt,
- Map<
String, dynamic> ? customFields,
Creates a new Location instance
Implementation
Location({
required this.id,
this.clid,
required this.name,
required this.isIndoor,
this.country,
this.state,
this.city,
this.address,
this.coordinates,
this.starred = false,
this.rockType,
this.terrainType,
this.accessInfo,
this.media,
this.createdAt,
this.customFields,
});