copyWith method

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

Implementation

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