createIfMissingSync method
Synchronously creates the file if it does not exist.
Implementation
void createIfMissingSync({bool recursive = false, bool exclusive = false}) {
if (!existsSync()) createSync(recursive: recursive, exclusive: exclusive);
}