a14n / dart-google-maps

A library to use Google Maps JavaScript API v3 from Dart scripts.
Apache License 2.0
130 stars 66 forks source link

AutocompleteSessionToken is wrongly defined #131

Closed flodaniel closed 3 months ago

flodaniel commented 3 months ago

The class is empty and I am unable to set the session token at all.

@JS('google.maps.places.AutocompleteSessionToken')
class AutocompleteSessionToken {
  external AutocompleteSessionToken();
}
flodaniel commented 3 months ago

I just understood that the JS library manages the actual value and I just have to pass a new instance of AutocompleteSessionToken.