formatSource method

  1. @override
void formatSource(
  1. String path
)
override

Implementation

@override
void formatSource(String path) {
  // A rewrite is the expected outcome, so its exit code is not a failure; only
  // the formatter being unusable is.
  Process.runSync('dart', ['format', path]);
}