CustomLocation constructor

CustomLocation({
  1. required double latitude,
  2. required double longitude,
  3. String? address,
  4. String? name,
  5. LocationType? type,
  6. String? id,
})

Implementation

CustomLocation(
    {required this.latitude,
    required this.longitude,
    this.address,
    this.name,
    this.type,
    this.id,
    });