swap_then_else_expression

Swap the then and else expression of a if-else expression or conditional expression.

Before
void fn(bool condition) {
  if (condition) {
//^^^^^^^^^^^^^^
    print('then');
  } else {
    print('else');
  }
}
After
void fn(bool condition) {
  if (condition) {
    print('else');
  } else {
    print('then');
  }
}

swap_then_else_expression