Directory constructor
Constructor which should only be called via StorageBucket class. @param bucketUuid Unique identifier of the directory's bucket. @param directoryUuid Unique identifier of the directory. @param data Data to populate the directory with.
Implementation
Directory(
this.bucketUuid,
super.directoryUuid, {
Map<String, dynamic>? data,
}) {
bucketUuid = bucketUuid;
apiPrefix = '/storage/buckets/$bucketUuid';
populate(data);
}