Location constructor

Location({
  1. required int id,
  2. String? clid,
  3. required String name,
  4. required bool isIndoor,
  5. String? country,
  6. String? state,
  7. String? city,
  8. String? address,
  9. Coordinates? coordinates,
  10. bool starred = false,
  11. RockType? rockType,
  12. TerrainType? terrainType,
  13. String? accessInfo,
  14. Media? media,
  15. DateTime? createdAt,
  16. 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,
});