isToOne property
bool
get
isToOne
Whether this is a "to-one" relation.
Implementation
bool get isToOne =>
type == RelationType.oneToOne || type == RelationType.manyToOne;
Whether this is a "to-one" relation.
bool get isToOne =>
type == RelationType.oneToOne || type == RelationType.manyToOne;