moveElementRight static method
Implementation
static void moveElementRight(List input, dynamic element) {
final currentIndex = input.indexOf(element);
if (currentIndex + 1 < input.length) {
input.removeAt(currentIndex);
input.insert(currentIndex + 1, element);
}
}