DataTransferFile class
A file associated with a {@linkcode DataTransferItem}.
Instances of this type can only be created by the editor and not by extensions.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- DataTransferFile({String? name, Uri? uri, Future data()?})
-
factory
Properties
- data ↔ Future Function()
-
Available on DataTransferFile, provided by the DataTransferFile$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Available on DataTransferFile, provided by the DataTransferFile$Typings extension
The name of the file.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri?
-
Available on DataTransferFile, provided by the DataTransferFile$Typings extension
The full file path of the file.no setter
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