Relate constructor Null safety

const Relate(
  1. Symbol inversePropertyName,
  2. {DeleteRule onDelete = DeleteRule.nullify,
  3. bool isRequired = false}
)

Creates an instance of this type.

Implementation

const Relate(
  this.inversePropertyName, {
  this.onDelete = DeleteRule.nullify,
  this.isRequired = false,
});