EventLocation constructor
const
EventLocation({})
Implementation
const EventLocation({
required this.title,
this.address,
this.latitude,
this.longitude,
this.radius,
this.notes,
}) : assert(latitude == null || (latitude >= -90 && latitude <= 90),
'Latitude must be between -90 and 90'),
assert(longitude == null || (longitude >= -180 && longitude <= 180),
'Longitude must be between -180 and 180'),
assert(radius == null || radius > 0, 'Radius must be positive');