createDirectory static method

Future<bool> createDirectory(
  1. String relativePath
)

Create a directory in the POD.

relativePath - Path relative to the app data directory.

Implementation

static Future<bool> createDirectory(String relativePath) async {
  final success = await PodFileSystem.createDirectory(relativePath);
  if (success) {
    invalidateCache(relativePath);
    notifyChange(); // Notify listeners
  }
  return success;
}