rotateLeft45 property
Direction
rotateLeft45
Implementation
Direction get rotateLeft45 => switch (this) {
none => none,
n => nw,
ne => n,
e => ne,
se => e,
s => se,
sw => s,
w => sw,
nw => w,
};