copyWith abstract method

  1. @useResult
ColumnMigration copyWith({
  1. String? columnName,
  2. String? newColumnName,
  3. bool? addNullable,
  4. bool? removeNullable,
  5. bool? changeDefault,
  6. String? newDefault,
  7. ColumnType? newType,
})

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

Implementation

@_i1.useResult
ColumnMigration copyWith({
  String? columnName,
  String? newColumnName,
  bool? addNullable,
  bool? removeNullable,
  bool? changeDefault,
  String? newDefault,
  _i2.ColumnType? newType,
});