Dart API Reference
dart:io
FileSystemEntity
isDirectory
isDirectory
method
Checks if type(path) returns FileSystemEntityType.DIRECTORY.
Future
<
bool
>
isDirectory
(
String
path
)
Checks if type(path) returns FileSystemEntityType.DIRECTORY.