webUSB_plugin icon indicating copy to clipboard operation
webUSB_plugin copied to clipboard

Error: Method not found: 'getProperty'.

Open zhangcheng1989 opened this issue 10 months ago • 0 comments

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'), ^^^^^^^^^^^

zhangcheng1989 avatar Apr 17 '24 02:04 zhangcheng1989