copyWith method
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,
);