isCardinal property

bool get isCardinal

✅ ADDED: Check if this is a cardinal direction

Implementation

bool get isCardinal =>
    this == top || this == bottom || this == left || this == right;