copyWith method

ReportStory copyWith({
  1. int? storyPosterChatId,
  2. int? storyId,
  3. String? optionId,
  4. String? text,
})

Implementation

ReportStory copyWith({
  int? storyPosterChatId,
  int? storyId,
  String? optionId,
  String? text,
}) =>
    ReportStory(
      storyPosterChatId: storyPosterChatId ?? this.storyPosterChatId,
      storyId: storyId ?? this.storyId,
      optionId: optionId ?? this.optionId,
      text: text ?? this.text,
    );