DVDroppedFile class

A file dropped where the platform hands over its contents rather than a path: a browser, whose drops are File objects with no path at all.

Constructors

DVDroppedFile({required String name, required Uint8List bytes, String mimeType = ''})
const
DVDroppedFile.fromMap(Map<Object?, Object?> map)
factory

Properties

bytes → Uint8List
final
hashCode → int
The hash code for this object.
no setterinherited
mimeType → String
What the platform says it is, such as image/png. Empty when unknown.
final
name → String
The file's name, without a directory.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited