ConstraintException constructor

const ConstraintException(
  1. String message, {
  2. String? code = 'P2004',
  3. Object? originalError,
  4. Map<String, dynamic>? context,
  5. String? constraintName,
  6. String? constraintType,
})

Implementation

const ConstraintException(
  super.message, {
  super.code = 'P2004',
  super.originalError,
  super.context,
  this.constraintName,
  this.constraintType,
});