Directory class

Inheritance

Constructors

Directory(String? bucketUuid, String directoryUuid, {Map<String, dynamic>? data})
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.

Properties

apiPrefix String?
API url prefix for this class.
getter/setter pairinherited
bucketUuid String?
Unique identifier of the bucket.
getter/setter pair
CID String?
Directory unique ipfs identifier.
getter/setter pair
content List<ApillonModel>
getter/setter pair
createTime String?
The object's creation date
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
Link on IPFS gateway.
getter/setter pair
name String?
Directory name.
getter/setter pair
parentDirectoryUuid String?
Id of the directory in which the file resides.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type StorageContentType
Type of content.
getter/setter pair
updateTime String?
The date when the object was last updated
getter/setter pairinherited
uuid String
Unique identifier of the model.
getter/setter pairinherited

Methods

delete() Future<void>
Deletes a directory from the bucket.
get({IStorageBucketContentRequest? params}) Future<List<ApillonModel>>
Gets contents of a directory. @returns Directory data and content (files and subfolders)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
populate(dynamic data) → dynamic
Populates class properties via data object. @param data Data object.
override
toMap() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited