copyWith method

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

Implementation

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