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