ICloudFile class

Metadata for an iCloud file or directory.

Constructors

ICloudFile.fromMap(Map map)
Constructor to create the object from the map passed from platform code. The native layer guarantees relativePath is always present when a map is returned.

Properties

contentChangeDate DateTime?
Corresponding to NSMetadataItemFSContentChangeDateKey. Nullable when the platform does not provide it.
final
creationDate DateTime?
Corresponding to NSMetadataItemFSCreationDateKey. Nullable when the platform does not provide it.
final
downloadStatus DownloadStatus?
Corresponding to NSMetadataUbiquitousItemDownloadingStatusKey. Nullable when the platform does not provide it.
final
hashCode int
The hash code for this object.
no setterinherited
hasUnresolvedConflicts bool
Corresponding to NSMetadataUbiquitousItemHasUnresolvedConflictsKey
final
isDirectory bool
True when the item represents a directory.
final
isDownloading bool
Corresponding to NSMetadataUbiquitousItemIsDownloadingKey
final
isUploaded bool
Corresponding to NSMetadataUbiquitousItemIsUploadedKey
final
isUploading bool
Corresponding to NSMetadataUbiquitousItemIsUploadingKey
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
relativePath String
File path relative to the iCloud container
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeInBytes int?
Corresponding to NSMetadataItemFSSizeKey. Nullable when the platform does not provide it.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

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