DVOpenedFile class
One file the application was opened with, shared, or picked.
Constructors
Properties
- extension → String
-
The extension, lower-case and without its dot; empty when there is none.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType → String?
-
Its type as the platform reported it, or null when it did not.
final
- name → String
-
The file's name,
march.order.final - path → String?
-
Where it is on disk, or null in a browser, where a file has no path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int?
-
Its size in bytes, when known before reading it.
final
- uri → String?
-
The
content://URI it came from on Android, before it was copied.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< List< int> > - Its contents.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< Object?, Object?> map) → DVOpenedFile? -
What a binding reports:
{path, name, mimeType, size or bytes, uri}. Null for a shape with neither a path nor bytes, which opens nothing.