PersistentAccessEntry class final

One persisted filesystem item.

id is a one-way identifier derived from the opaque backend handle. It can be used for display keys and diagnostics without exposing a macOS security capability. Applications should not parse or persist it.

Constructors

PersistentAccessEntry({required String id, required PersistentAccessStatus status, required PersistentAccessEntityKind? kind, required String? lastKnownPath, Object? error})
const

Properties

error Object?
The handled failure from the latest unsuccessful recovery attempt.
final
hashCode int
The hash code for this object.
no setterinherited
id String
A stable one-way identifier for the current stored handle.
final
isAvailable bool
no setter
kind PersistentAccessEntityKind?
The known filesystem entity kind, or null when metadata is unavailable.
final
lastKnownPath String?
The resolved current path when available, or the last-known path when unavailable. This is intended for UI and may contain sensitive data.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status PersistentAccessStatus
The result of the most recent recovery attempt.
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