createIfNotExists method

void createIfNotExists([
  1. bool recursive = false
])

Implementation

void createIfNotExists([bool recursive = false]) {
  if (!existsSync()) createSync(recursive: recursive);
}