MapLocation constructor

const MapLocation({
  1. required String id,
  2. required String name,
  3. required double latitude,
  4. required double longitude,
  5. String? region,
  6. String? regionCode,
  7. String? code,
  8. String? description,
  9. Map<String, dynamic>? metadata,
  10. bool isActive = false,
})

Implementation

const MapLocation({
  required this.id,
  required this.name,
  required this.latitude,
  required this.longitude,
  this.region,
  this.regionCode,
  this.code,
  this.description,
  this.metadata,
  this.isActive = false,
});