copyWith method

AutosaveSettings copyWith({
  1. ScopeAutosaveSettings? privateChatSettings,
  2. ScopeAutosaveSettings? groupSettings,
  3. ScopeAutosaveSettings? channelSettings,
  4. List<AutosaveSettingsException>? exceptions,
})

Implementation

AutosaveSettings copyWith({
  ScopeAutosaveSettings? privateChatSettings,
  ScopeAutosaveSettings? groupSettings,
  ScopeAutosaveSettings? channelSettings,
  List<AutosaveSettingsException>? exceptions,
}) => AutosaveSettings(
  privateChatSettings: privateChatSettings ?? this.privateChatSettings,
  groupSettings: groupSettings ?? this.groupSettings,
  channelSettings: channelSettings ?? this.channelSettings,
  exceptions: exceptions ?? this.exceptions,
);