IFileUploadRequest class

Constructors

IFileUploadRequest({bool? wrapWithDirectory, String? directoryPath, bool? awaitCid})

Properties

awaitCid bool?
If set to true, the upload action will wait until files receive a CID from IPFS before returning a result
getter/setter pair
directoryPath String?
Path to wrapped directory inside bucket. Mandatory when wrapWithDirectory is true. @example main-dir --> Files get uploaded to a folder named main-dir in the bucket. @example main-dir/sub-dir --> Files get uploaded to a subfolder in the location /main-dir/sub-dir.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wrapWithDirectory bool?
Wrap uploaded files to IPFS directory. Files in session can be wrapped to CID on IPFS via wrapWithDirectory parameter. This means that the directory gets its own CID and its content cannot be modified afterwards. @docs IPFS docs
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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