copyWith method

UpdateStoryPostSucceeded copyWith({
  1. Story? story,
  2. int? oldStoryId,
})

Implementation

UpdateStoryPostSucceeded copyWith({Story? story, int? oldStoryId}) =>
    UpdateStoryPostSucceeded(
      story: story ?? this.story,
      oldStoryId: oldStoryId ?? this.oldStoryId,
    );