A file associated with a {@linkcode DataTransferItem}.

Instances of this type can only be created by the editor and not by extensions.

Fields

@:optionaloptionalread onlyuri:Null<Uri>

The full file path of the file.

May be undefined on web.

read onlyname:String

The name of the file.

data():Thenable<Uint8Array>

The full file contents of the file.