ITADN

Error: 'JSObject' and 'JSAny' isn't a type

#472Closedplchekspend 创建于 2025-09-30
P
plchekspendcommented
I'm getting this type of errors when building flutter app bundle using Flutter SDK 3.32.0 and android studio Narwhal 3 and upper /Users/imac/.pub-cache/hosted/pub.dev/web-1.1.1/lib/src/helpers/http.dart:252:62: Error: The method 'jsify' isn't defined for the class 'Object'. - 'Object' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named 'jsify'. xhr.send(sendData is String ? sendData.toJS : sendData.jsify()); /Users/imac/.pub-cache/hosted/pub.dev/web-1.1.1/lib/src/dom/xhr.dart:178:23: Error: 'JSAny' isn't a type. external void send([JSAny? body]); ^^^^^ /Users/imac/.pub-cache/hosted/pub.dev/web-1.1.1/lib/src/dom/xhr.dart:502:27: Error: 'JSObject' isn't a type. extension type FormData._(JSObject _) implements JSObject {
关闭于 2026-01-15 3 条评论