OneToOne constructor

const OneToOne({
  1. FetchType fetch = FetchType.lazy,
  2. List<CascadeType> cascade = const [],
  3. String? mappedBy,
  4. bool optional = true,
})

Implementation

const OneToOne({
  this.fetch = FetchType.lazy,
  this.cascade = const [],
  this.mappedBy,
  this.optional = true,
});