copyWith abstract method

  1. @useResult
ForeignKeyDefinition copyWith({
  1. String? constraintName,
  2. List<String>? columns,
  3. String? referenceTable,
  4. String? referenceTableSchema,
  5. List<String>? referenceColumns,
  6. ForeignKeyAction? onUpdate,
  7. ForeignKeyAction? onDelete,
  8. ForeignKeyMatchType? matchType,
})

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

Implementation

@_i1.useResult
ForeignKeyDefinition copyWith({
  String? constraintName,
  List<String>? columns,
  String? referenceTable,
  String? referenceTableSchema,
  List<String>? referenceColumns,
  _i2.ForeignKeyAction? onUpdate,
  _i2.ForeignKeyAction? onDelete,
  _i3.ForeignKeyMatchType? matchType,
});