fix static method

Future<void> fix()

this method will try to solve and arrange code

Implementation

static Future<void> fix() async {
  try {
    await Shell().run('dart fix --apply');
  } catch (e) {
    print(e.toString());
  }
}