copyWith method

EditStory copyWith({
  1. int? storyId,
  2. InputStoryContent? content,
  3. FormattedText? caption,
})

Implementation

EditStory copyWith({
  int? storyId,
  InputStoryContent? content,
  FormattedText? caption,
}) =>
    EditStory(
      storyId: storyId ?? this.storyId,
      content: content ?? this.content,
      caption: caption ?? this.caption,
    );