format static method
Run the dartfmt
command with the --overwrite
option. Format a file, a
directory or a list of files or directories in place.
Implementation
static void format(fileOrPath, {int? lineLength}) {
_run(const [], coerceToPathList(fileOrPath), lineLength: lineLength);
}