copyWith method

ToggleStoryIsPinned copyWith({
  1. int? storyId,
  2. bool? isPinned,
})

Implementation

ToggleStoryIsPinned copyWith({
  int? storyId,
  bool? isPinned,
}) =>
    ToggleStoryIsPinned(
      storyId: storyId ?? this.storyId,
      isPinned: isPinned ?? this.isPinned,
    );