copyWith method

LiveLocation copyWith({
  1. Location? location,
  2. int? livePeriod,
  3. int? heading,
  4. int? proximityAlertRadius,
})

Implementation

LiveLocation copyWith({
  Location? location,
  int? livePeriod,
  int? heading,
  int? proximityAlertRadius,
}) => LiveLocation(
  location: location ?? this.location,
  livePeriod: livePeriod ?? this.livePeriod,
  heading: heading ?? this.heading,
  proximityAlertRadius: proximityAlertRadius ?? this.proximityAlertRadius,
);