copyWith method

UpdateStory copyWith({
  1. Story? story,
})

Implementation

UpdateStory copyWith({
  Story? story,
}) =>
    UpdateStory(
      story: story ?? this.story,
    );