copyWith method

  1. @override
MessageProximityAlertTriggered copyWith({
  1. MessageSender? travelerId,
  2. MessageSender? watcherId,
  3. int? distance,
})
override

Implementation

@override
MessageProximityAlertTriggered copyWith({
  MessageSender? travelerId,
  MessageSender? watcherId,
  int? distance,
}) =>
    MessageProximityAlertTriggered(
      travelerId: travelerId ?? this.travelerId,
      watcherId: watcherId ?? this.watcherId,
      distance: distance ?? this.distance,
    );