copyWith method

  1. @override
InternalLinkTypeStory copyWith({
  1. String? storyPosterUsername,
  2. int? storyId,
  3. dynamic extra,
  4. int? clientId,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
InternalLinkTypeStory copyWith({
  String? storyPosterUsername,
  int? storyId,
  dynamic extra,
  int? clientId,
}) => InternalLinkTypeStory(
  storyPosterUsername: storyPosterUsername ?? this.storyPosterUsername,
  storyId: storyId ?? this.storyId,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);