hasFolderWindows method Null safety

Future<bool> hasFolderWindows(
  1. {required String path}
)

check if the path already exists in document folder path

Implementation

static Future<bool> hasFolderWindows({required String path}) async {
  final Directory _appDocDirFolder = Directory(path);
  return await _appDocDirFolder.exists();
}