On this page
add method
DataTransferItem add(Source
DataTransferItem add(data_OR_file, [String type]) {
if ((type is String) && (data_OR_file is String)) {
return _blink.BlinkDataTransferItemList.instance
.add_Callback_2_(this, data_OR_file, type);
}
if ((data_OR_file is File || data_OR_file == null) && type == null) {
return _blink.BlinkDataTransferItemList.instance
.add_Callback_1_(this, data_OR_file);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DataTransferItemList/add.html