createDirectory method

  1. @override
Future<void> createDirectory(
  1. String path
)
override

Creates a new directory at the specified path.

Implementation

@override
Future<void> createDirectory(String path) {
  // The `iCloud_Storage_Sync` package does not provide a method to explicitly
  // create an empty directory. Directories are created implicitly when a file
  // is uploaded into a non-existent path.
  throw UnimplementedError(
      'iCloudProvider: createDirectory is not supported. Directories are created automatically upon file upload.');
}