copyWith method
InternalLinkTypeNewStory
copyWith({
- StoryContentType? contentType()?,
- dynamic extra,
- 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
InternalLinkTypeNewStory copyWith({
StoryContentType? Function()? contentType,
dynamic extra,
int? clientId,
}) => InternalLinkTypeNewStory(
contentType: contentType != null ? contentType() : this.contentType,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);