operator [] method
Implementation
DragBounds? operator [](DragBound bound) => switch (bound) {
.top => top,
.bottom => bottom,
.left => left,
.right => right,
};
DragBounds? operator [](DragBound bound) => switch (bound) {
.top => top,
.bottom => bottom,
.left => left,
.right => right,
};