OneToOne constructor
const
OneToOne({
- FetchType fetch = FetchType.lazy,
- List<
CascadeType> cascade = const [], - String? mappedBy,
- bool optional = true,
Implementation
const OneToOne({
this.fetch = FetchType.lazy,
this.cascade = const [],
this.mappedBy,
this.optional = true,
});