isToMany property

bool get isToMany

Whether this is a "to-many" relation.

Implementation

bool get isToMany =>
    type == RelationType.oneToMany || type == RelationType.manyToMany;