getDirectory method
Returns: Returns the directory object at the path.
Implementation
Future<Directory> getDirectory(
BucketFileSystemLocator bucketFileSystemLocator) async {
var result = await _client.send('FileSystem.getDirectory', {
'bucketFileSystemLocator': bucketFileSystemLocator,
});
return Directory.fromJson(result['directory'] as Map<String, dynamic>);
}