Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Method not found: 'getProperty'. #10

Open
zhangcheng1989 opened this issue Apr 17, 2024 · 0 comments
Open

Error: Method not found: 'getProperty'. #10

zhangcheng1989 opened this issue Apr 17, 2024 · 0 comments

Comments

@zhangcheng1989
Copy link

package:usb_device_platform_interface/models/configurations/usb_device_info.dart => dart:js_util
...

../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_configuration.dart:17:26: Error: Method not found: 'getProperty'.
configurationName: getProperty(configuration, "configurationName"),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_configuration.dart:18:27: Error: Method not found: 'getProperty'.
configurationValue: getProperty(configuration, "configurationValue"),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_configuration.dart:19:22: Error: Method not found: 'getProperty'.
usbInterfaces: getProperty(configuration, "interfaces") == null
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_configuration.dart:22:15: Error: Method not found: 'getProperty'.
getProperty(configuration, "interfaces")),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_interface.dart:1:8: Error: Dart library 'dart:js_util' is not available on this platform.
import 'dart:js_util';
^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_interface.dart:18:30: Error: Method not found: 'getProperty'.
interfaceNumber: getProperty(interface, "interfaceNumber"),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_interface.dart:19:22: Error: Method not found: 'getProperty'.
claimed: getProperty(interface, "claimed"),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_interface.dart:20:34: Error: Method not found: 'getProperty'.
alternatesInterface: getProperty(interface, "alternates") == null
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_interface.dart:23:21: Error: Method not found: 'getProperty'.
getProperty(interface, "alternates"))))
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_alternate_interface.dart:1:8: Error: Dart library 'dart:js_util' is not available on this platform.
import 'dart:js_util';
^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_alternate_interface.dart:16:33: Error: Method not found: 'getProperty'.
alternateSetting: getProperty(e, "alternateSetting"),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_alternate_interface.dart:17:26: Error: Method not found: 'getProperty'.
endpoints: getProperty(e, "endpoints") == null
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_alternate_interface.dart:19:47: Error: Method not found: 'getProperty'.
: USBEndpoint.fromEndpoints(getProperty(e, "endpoints")),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:1:8: Error: Dart library 'dart:js_util' is not available on this platform.
import 'dart:js_util';
^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:39:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'usbVersionMajor'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:40:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'usbVersionMinor'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:41:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'usbVersionSubminor'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:42:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'deviceClass'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:43:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'deviceSubclass'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:44:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'deviceProtocol'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:45:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'vendorId'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:46:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'productId'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:47:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'deviceVersionMajor'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:48:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'deviceVersionMinor'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:49:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'deviceVersionSubminor'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:50:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'manufacturerName'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:51:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'productName'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:52:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'serialNumber'),
^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/usb_device_platform_interface-1.0.0/lib/models/configurations/usb_device_info.dart:53:7: Error: Method not found: 'getProperty'.
getProperty(pairedDevice, 'opened'),
^^^^^^^^^^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant