copyWith method
AutosaveSettings
copyWith({
- ScopeAutosaveSettings? privateChatSettings,
- ScopeAutosaveSettings? groupSettings,
- ScopeAutosaveSettings? channelSettings,
- List<
AutosaveSettingsException> ? exceptions, - dynamic extra,
- int? clientId,
Implementation
AutosaveSettings copyWith({
ScopeAutosaveSettings? privateChatSettings,
ScopeAutosaveSettings? groupSettings,
ScopeAutosaveSettings? channelSettings,
List<AutosaveSettingsException>? exceptions,
dynamic extra,
int? clientId,
}) =>
AutosaveSettings(
privateChatSettings: privateChatSettings ?? this.privateChatSettings,
groupSettings: groupSettings ?? this.groupSettings,
channelSettings: channelSettings ?? this.channelSettings,
exceptions: exceptions ?? this.exceptions,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);