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