copyWith method
AutoDownloadSettingsPresets
copyWith({
- AutoDownloadSettings? low,
- AutoDownloadSettings? medium,
- AutoDownloadSettings? high,
- dynamic extra,
- int? clientId,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
AutoDownloadSettingsPresets copyWith({
AutoDownloadSettings? low,
AutoDownloadSettings? medium,
AutoDownloadSettings? high,
dynamic extra,
int? clientId,
}) =>
AutoDownloadSettingsPresets(
low: low ?? this.low,
medium: medium ?? this.medium,
high: high ?? this.high,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);