copyWith abstract method

  1. @useResult
DatabaseMigrationAction copyWith({
  1. DatabaseMigrationActionType? type,
  2. String? deleteTable,
  3. TableMigration? alterTable,
  4. TableDefinition? createTable,
})

Returns a shallow copy of this DatabaseMigrationAction with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
DatabaseMigrationAction copyWith({
  _i2.DatabaseMigrationActionType? type,
  String? deleteTable,
  _i3.TableMigration? alterTable,
  _i4.TableDefinition? createTable,
});