create method

File create({
  1. bool skipFormatter = false,
})

This function will create the file in path with the content of content.

Implementation

File create({bool skipFormatter = false}) {
  return writeFile(
    path,
    customContent.isNotEmpty ? customContent : content,
    overwrite: overwrite,
  );
}