Formats Dart files in the specified target.
target
Defaults to the lib directory.
lib
Future<void> format({String target = 'lib'}) async { await runDart(['format', target]); }