ICloudVersion class
A descriptor for a single unresolved NSFileVersion conflict version,
surfaced from the native layer via the version-exposure primitives.
The plugin only EXPOSES versions; it never auto-resolves or deletes losing versions. The app owns conflict policy: it enumerates unresolved versions, copies losing versions out to badged backups, and marks conflicts resolved only after backups are confirmed.
identifier is opaque and round-trippable: pass it back to
ICloudStorage.copyConflictVersion to select this version for
copy-out. modificationDate is the version's modification timestamp
(null when the platform does not provide one).
Constructors
- ICloudVersion({required String identifier, DateTime? modificationDate})
-
Creates an ICloudVersion directly.
const
- ICloudVersion.fromMap(Map map)
- Creates an ICloudVersion from a platform channel map.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
Opaque, round-trippable identifier for the version. Pass back to
ICloudStorage.copyConflictVersionto select this version.final - modificationDate → DateTime?
-
The version's modification date, when available.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.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