copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
WebPageInstantView copyWith({
List<PageBlock>? pageBlocks,
int? viewCount,
int? version,
bool? isRtl,
bool? isFull,
InternalLinkType? feedbackLink,
dynamic extra,
int? clientId,
}) =>
WebPageInstantView(
pageBlocks: pageBlocks ?? this.pageBlocks,
viewCount: viewCount ?? this.viewCount,
version: version ?? this.version,
isRtl: isRtl ?? this.isRtl,
isFull: isFull ?? this.isFull,
feedbackLink: feedbackLink ?? this.feedbackLink,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);