1. Dart
2. dart:html
3. DataTransferItemList
4. addData method

##### DataTransferItemList class

1. Properties
2. hashCode
3. length
4. runtimeType
5. Methods
6. add
7. addData
8. addFile
9. clear
10. item
11. noSuchMethod
12. remove
13. toString
14. Operators
15. operator ==
16. operator []

description

# addData method Null safety

1. @JSName('add')

DataTransferItem? addData (

1. String data,
2. String type

)
@JSName('add')

## Implementation

    @JSName('add')
    DataTransferItem? addData(String data, String type) native;