copyWith method

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

Implementation

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