copyWith method
Implementation
DBConfig copyWith({
int? dbVersion,
String? dbType,
bool? saveLocalDBLock,
int? minDeletedCount,
int? minDeletedSize,
bool? saveBackupDBCompact,
bool? autoCompact,
}) {
return DBConfig(
dbVersion: dbVersion ?? this.dbVersion,
dbType: dbType ?? this.dbType,
saveLocalDBLock: saveLocalDBLock ?? this.saveLocalDBLock,
minDeletedCount: minDeletedCount ?? this.minDeletedCount,
minDeletedSize: minDeletedSize ?? this.minDeletedSize,
saveBackupDBCompact: saveBackupDBCompact ?? this.saveBackupDBCompact,
autoCompact: autoCompact ?? this.autoCompact,
);
}