copyWith method

AutosaveSettingsException copyWith({
  1. int? chatId,
  2. ScopeAutosaveSettings? settings,
})

Implementation

AutosaveSettingsException copyWith({
  int? chatId,
  ScopeAutosaveSettings? settings,
}) =>
    AutosaveSettingsException(
      chatId: chatId ?? this.chatId,
      settings: settings ?? this.settings,
    );