copyWith method

  1. @override
InternalLinkTypeStoryAlbum copyWith({
  1. String? storyAlbumOwnerUsername,
  2. int? storyAlbumId,
  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
InternalLinkTypeStoryAlbum copyWith({
  String? storyAlbumOwnerUsername,
  int? storyAlbumId,
  dynamic extra,
  int? clientId,
}) => InternalLinkTypeStoryAlbum(
  storyAlbumOwnerUsername:
      storyAlbumOwnerUsername ?? this.storyAlbumOwnerUsername,
  storyAlbumId: storyAlbumId ?? this.storyAlbumId,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);