Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
more lint fighting
  • Loading branch information
kevmoo committed Nov 16, 2023
commit e7bbc7fe7cff6412fc6c93b87bf983366c5f375c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void main() {
for (final File e in files) {
// TODO(srujzs): This is necessary in order to support package:web 0.4.0.
// This was not needed with 0.3.0, hence the lint.
// ignore: avoid-unnecessary-type-casts
// ignore: unnecessary_cast
dataTransfer.items.add(e as JSAny);
}
return dataTransfer.files;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class DomHelper {
XFile _convertFileToXFile(File file) => XFile(
// TODO(srujzs): This is necessary in order to support package:web 0.4.0.
// This was not needed with 0.3.0, hence the lint.
// ignore: avoid-unnecessary-type-casts
// ignore: unnecessary_cast
URL.createObjectURL(file as JSObject),
name: file.name,
length: file.size,
Expand Down