correctOrientation static method
Corrects the Cube orientation from
the your definition
colors U..R..F..D..L..B.
Implementation
static List<Color> correctOrientation(List<Color> definition) {
return _findRotation(definition).fold(definition, rotate);
}