copyWith method
Copy model with modified properties.
Properties:
url
: URL to be passed to getWebPageInstantViewfallback_url
: An URL to open if getWebPageInstantView fails
Implementation
@override
InternalLinkTypeInstantView copyWith({
String? url,
String? fallbackUrl,
dynamic extra,
int? clientId,
}) =>
InternalLinkTypeInstantView(
url: url ?? this.url,
fallbackUrl: fallbackUrl ?? this.fallbackUrl,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);