C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:14:8: 错误:读取时出错'/ C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/stream_transform-2.0.0/lib/stream_transform.dart':系统找不到指定的路径。
import 'package:stream_transform/stream_transform.dart';
^
/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:96:27:错误:方法'whereType ' 不是为类 'Stream' 定义的。
- “Stream”来自“dart:async”。
- 'MapEvent' 来自 'package:google_maps_flutter_platform_interface/src/events/map_event.dart' ('/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/ lib/src/events/map_event.dart')。
尝试将名称更正为现有方法的名称,或定义名为“whereType”的方法。
返回 _events(mapId).whereType();
^^^^^^^^^^
/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:101:27: 错误:方法'whereType' is' t 为类 'Stream' 定义。
- “Stream”来自“dart:async”。
- 'MapEvent' 来自 'package:google_maps_flutter_platform_interface/src/events/map_event.dart' ('/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/ lib/src/events/map_event.dart')。
尝试将名称更正为现有方法的名称,或定义名为“whereType”的方法。
返回 _events(mapId).whereType();
^^^^^^^^^^
/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:106:27: 错误:方法'whereType' is' t 为类 'Stream' 定义。
- “Stream”来自“dart:async”。
- 'MapEvent' 来自 'package:google_maps_flutter_platform_interface/src/events/map_event.dart' ('/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/ lib/src/events/map_event.dart')。
尝试将名称更正为现有方法的名称,或定义名为“whereType”的方法。
返回 _events(mapId).whereType();
^^^^^^^^^^