From 54dde931b9ce2bbc595effacac38598912b7c61c Mon Sep 17 00:00:00 2001 From: Oleh <107683152+OlehSv@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:55:56 +0200 Subject: [PATCH 1/2] Update geocoder_address_component.dart --- lib/src/generated/geocoder/geocoder_address_component.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/generated/geocoder/geocoder_address_component.dart b/lib/src/generated/geocoder/geocoder_address_component.dart index 3ed7b943..47fd771b 100644 --- a/lib/src/generated/geocoder/geocoder_address_component.dart +++ b/lib/src/generated/geocoder/geocoder_address_component.dart @@ -30,6 +30,6 @@ extension type GeocoderAddressComponent._(JSObject _) implements JSObject { set shortName(String value) => _shortName = value; @JS('types') external JSArray _types; - List get types => _types.dartify() as List; + List get types => _types.toDart.map((type) => type.toDart).toList(); set types(List value) => _types = value.jsify() as JSArray; } From 711a96d344133ac0104d29d93dfc813ce3a87114 Mon Sep 17 00:00:00 2001 From: Oleh <107683152+OlehSv@users.noreply.github.com> Date: Tue, 3 Sep 2024 15:53:02 +0200 Subject: [PATCH 2/2] Update pubspec.yaml --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 71534700..7c507166 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: google_maps -version: 8.0.0 +version: 8.0.1 description: > With that package you will be able to use Google Maps JavaScript API from Dart scripts.