copyWith method

SqfliteCommonStoreContext<TModel> copyWith({
  1. String? dbName,
  2. int? dbVersion,
  3. List<TModel>? tables,
})

Implementation

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