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

Update geocoder_address_component.dart #140

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/generated/geocoder/geocoder_address_component.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ extension type GeocoderAddressComponent._(JSObject _) implements JSObject {
set shortName(String value) => _shortName = value;
@JS('types')
external JSArray<JSString> _types;
List<String> get types => _types.dartify() as List<String>;
List<String> get types => _types.toDart.map((type) => type.toDart).toList();
set types(List<String> value) => _types = value.jsify() as JSArray<JSString>;
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down