copyWith method

ReportStory copyWith({
  1. int? storySenderChatId,
  2. int? storyId,
  3. ReportReason? reason,
  4. String? text,
})

Implementation

ReportStory copyWith({
  int? storySenderChatId,
  int? storyId,
  ReportReason? reason,
  String? text,
}) =>
    ReportStory(
      storySenderChatId: storySenderChatId ?? this.storySenderChatId,
      storyId: storyId ?? this.storyId,
      reason: reason ?? this.reason,
      text: text ?? this.text,
    );