ForeignKeyException constructor

const ForeignKeyException(
  1. String message, {
  2. String? code = 'P2003',
  3. Object? originalError,
  4. Map<String, dynamic>? context,
  5. String? constraintName,
  6. String? field,
  7. String? referencedTable,
})

Implementation

const ForeignKeyException(
  super.message, {
  super.code = 'P2003',
  super.originalError,
  super.context,
  this.constraintName,
  this.field,
  this.referencedTable,
});