copyWith method

MessageForwardInfo copyWith({
  1. MessageOrigin? origin,
  2. int? date,
  3. ForwardSource? source,
  4. String? publicServiceAnnouncementType,
})

Implementation

MessageForwardInfo copyWith({
  MessageOrigin? origin,
  int? date,
  ForwardSource? source,
  String? publicServiceAnnouncementType,
}) =>
    MessageForwardInfo(
      origin: origin ?? this.origin,
      date: date ?? this.date,
      source: source ?? this.source,
      publicServiceAnnouncementType:
          publicServiceAnnouncementType ?? this.publicServiceAnnouncementType,
    );