OneToMany constructor

const OneToMany({
  1. required Type targetEntity,
  2. bool cascadeDelete = false,
  3. bool lazyLoad = true,
  4. bool eagerLoad = false,
  5. RelationAction onDelete = RelationAction.noAction,
  6. RelationAction onUpdate = RelationAction.noAction,
})

Implementation

const OneToMany({
  required this.targetEntity,
  this.cascadeDelete = false,
  this.lazyLoad = true,
  this.eagerLoad = false,
  this.onDelete = RelationAction.noAction,
  this.onUpdate = RelationAction.noAction,
});