copyWith method

SqfliteCommonDbContext<TEntity> copyWith({
  1. String? dbName,
  2. int? dbVersion,
  3. List<IEntity>? tables,
})

Implementation

SqfliteCommonDbContext<TEntity> copyWith({
  String? dbName,
  int? dbVersion,
  List<IEntity>? tables,
}) {
  return SqfliteCommonDbContext<TEntity>(
    dbName: dbName ?? this.dbName,
    dbVersion: dbVersion ?? this.dbVersion,
    tables: tables ?? this.tables,
  );
}