coreValue property
Implementation
@visibleForTesting
int get coreValue {
switch (this) {
case notAllowed:
return 0;
case allowedAtDeadEnds:
return 1;
case allowedAtIntersections:
return 2;
case allowedAtDeadEndsAndIntersections:
return 3;
}
}