copyWith abstract method
DatabaseDefinition
copyWith({
- int? schemaVersion,
- String? name,
- String? moduleName,
- List<
TableDefinition> ? tables, - List<
DatabaseMigrationVersionModel> ? installedModules, - int? migrationApiVersion,
Returns a shallow copy of this DatabaseDefinition with some or all fields replaced by the given arguments.
Implementation
@_i1.useResult
DatabaseDefinition copyWith({
int? schemaVersion,
String? name,
String? moduleName,
List<_i2.TableDefinition>? tables,
List<_i2.DatabaseMigrationVersionModel>? installedModules,
int? migrationApiVersion,
});