copyWith method
- LocationServices? locationServices,
- DateTime? timestamp,
- GeolocationCoordinate? coordinate,
- GeolocationAltitude? altitude,
- GeolocationHeading? heading,
- GeolocationSpeed? speed,
Implementation
Geolocation copyWith(
{LocationServices? locationServices,
DateTime? timestamp,
GeolocationCoordinate? coordinate,
GeolocationAltitude? altitude,
GeolocationHeading? heading,
GeolocationSpeed? speed}) {
return Geolocation(
locationServices: locationServices ?? this.locationServices,
timestamp: timestamp ?? this.timestamp,
coordinate: coordinate ?? this.coordinate,
altitude: altitude ?? this.altitude,
heading: heading ?? this.heading,
speed: speed ?? this.speed);
}