copyWith method

  1. @override
InternalLinkTypeInstantView copyWith({
  1. String? url,
  2. String? fallbackUrl,
  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
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,
);