copyWith method
Implementation
AutoDownloadSettings copyWith({
bool? isAutoDownloadEnabled,
int? maxPhotoFileSize,
int? maxVideoFileSize,
int? maxOtherFileSize,
int? videoUploadBitrate,
bool? preloadLargeVideos,
bool? preloadNextAudio,
bool? useLessDataForCalls,
}) => AutoDownloadSettings(
isAutoDownloadEnabled: isAutoDownloadEnabled ?? this.isAutoDownloadEnabled,
maxPhotoFileSize: maxPhotoFileSize ?? this.maxPhotoFileSize,
maxVideoFileSize: maxVideoFileSize ?? this.maxVideoFileSize,
maxOtherFileSize: maxOtherFileSize ?? this.maxOtherFileSize,
videoUploadBitrate: videoUploadBitrate ?? this.videoUploadBitrate,
preloadLargeVideos: preloadLargeVideos ?? this.preloadLargeVideos,
preloadNextAudio: preloadNextAudio ?? this.preloadNextAudio,
useLessDataForCalls: useLessDataForCalls ?? this.useLessDataForCalls,
);