copyWith abstract method

  1. @useResult
DatabaseMigrationAction copyWith({
  1. DatabaseMigrationActionType? type,
  2. String? deleteTable,
  3. TableMigration? alterTable = const _UndefinedDatabaseMigrationAction$alterTable(),
  4. 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(),
});