XClipboardFile class
A file reference read from the system clipboard (e.g. a Finder or Explorer "Copy"). bookmark is a macOS security-scoped bookmark so a sandboxed reader can re-acquire access after the transient pasteboard grant lapses; null where not applicable.
Constructors
- XClipboardFile({required String path, required String name, Uint8List? bookmark})
-
Binds the file's path and name to its optional scoped bookmark.
const
Properties
- bookmark → Uint8List?
-
macOS security-scoped bookmark; null where not applicable.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Display name as the file manager shows it.
final
- path → String
-
Absolute path on local disk.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
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