GeoPoint constructor
GeoPoint({
- required double latitude,
- required double longitude,
- String? name,
- int? id,
- String? slug,
- int? timestamp,
- double? altitude,
- double? speed,
- double? accuracy,
- double? heading,
- String? country,
- String? locality,
- String? sublocality,
- String? number,
- String? postalCode,
- String? region,
- double? speedAccuracy,
- String? street,
- String? subregion,
- List<
File> ? images,
Implementation
GeoPoint(
{required this.latitude,
required this.longitude,
this.name,
this.id,
this.slug,
this.timestamp,
this.altitude,
this.speed,
this.accuracy,
this.heading,
this.country,
this.locality,
this.sublocality,
this.number,
this.postalCode,
this.region,
this.speedAccuracy,
this.street,
this.subregion,
this.images}) {
if (slug == null && name != null) slug = slugify(name!);
}