copyWithWrapped method
Implementation
Geolocation copyWithWrapped(
{Wrapped<LocationServices?>? locationServices,
Wrapped<DateTime?>? timestamp,
Wrapped<GeolocationCoordinate?>? coordinate,
Wrapped<GeolocationAltitude?>? altitude,
Wrapped<GeolocationHeading?>? heading,
Wrapped<GeolocationSpeed?>? speed}) {
return Geolocation(
locationServices: (locationServices != null
? locationServices.value
: this.locationServices),
timestamp: (timestamp != null ? timestamp.value : this.timestamp),
coordinate: (coordinate != null ? coordinate.value : this.coordinate),
altitude: (altitude != null ? altitude.value : this.altitude),
heading: (heading != null ? heading.value : this.heading),
speed: (speed != null ? speed.value : this.speed));
}