coreValue property
Implementation
@visibleForTesting
int get coreValue {
switch (this) {
case manyToMany:
return 0;
case oneToMany:
return 1;
case oneToOne:
return 2;
case _unknown:
return -1;
}
}
@visibleForTesting
int get coreValue {
switch (this) {
case manyToMany:
return 0;
case oneToMany:
return 1;
case oneToOne:
return 2;
case _unknown:
return -1;
}
}