DataTransferItemList class Null safety

Annotations
  • @Native("DataTransferItemList")

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
length int?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(dynamic data_OR_file, [String? type]) DataTransferItem?
addData(String data, String type) DataTransferItem?
@JSName('add')
addFile(File file) DataTransferItem?
@JSName('add')
clear() → void
item(int index) DataTransferItem
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove(int index) → void
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited
operator [](int index) DataTransferItem