method
isFileSync

bool isFileSync(
String path
)

Synchronously checks if typeSync(path) returns FileSystemEntityType.FILE.