CloudFile class

Represents a file or directory within the cloud storage.

Constructors

CloudFile({required String path, required String name, required int? size, required DateTime? modifiedTime, required bool isDirectory, Map<String, dynamic>? metadata})

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDirectory → bool
True if the item is a directory.
final
metadata → Map<String, dynamic>?
Custom metadata associated with the file.
final
modifiedTime → DateTime?
The last modified timestamp.
final
name → String
The name of the item.
final
path → String
The full path of the item.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int?
The size of the file in bytes. Null for directories.
final

Methods

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

Operators

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