copyWith abstract method
DatabaseMigrationAction
copyWith({
- DatabaseMigrationActionType? type,
- String? deleteTable,
- TableMigration? alterTable = const _UndefinedDatabaseMigrationAction$alterTable(),
- TableDefinition? createTable = const _UndefinedDatabaseMigrationAction$createTable(),
Returns a shallow copy of this DatabaseMigrationAction with some or all fields replaced by the given arguments.
Implementation
@_iss.useResult
DatabaseMigrationAction copyWith({
_isd.DatabaseMigrationActionType? type,
String? deleteTable,
_isd.TableMigration? alterTable =
const _UndefinedDatabaseMigrationAction$alterTable(),
_isd.TableDefinition? createTable =
const _UndefinedDatabaseMigrationAction$createTable(),
});