createFile method

Future<File> createFile(
  1. String filePath
)

Implementation

Future<File> createFile(String filePath) async {
  final file = File(filePath);
  return file.create(recursive: true);
}