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

CalendarApi: EventExtendedProperties.fromJson still not Dart2 clean #39

Closed
pulyaevskiy opened this issue Apr 19, 2018 · 3 comments
Closed
Assignees

Comments

@pulyaevskiy
Copy link

With 0.50.1:

type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, String>' where
  _InternalLinkedHashMap is from dart:collection
  String is from dart:core
  Map is from dart:core
  String is from dart:core
  String is from dart:core

#0      new EventExtendedProperties.fromJson (package:googleapis/calendar/v3.dart:4162:22)
#1      new Event.fromJson (package:googleapis/calendar/v3.dart:4635:15)
#2      new Events.fromJson.<anonymous closure> (package:googleapis/calendar/v3.dart:5163:38)
#3      MappedListIterable.elementAt (dart:_internal/iterable.dart:414:29)
#4      ListIterable.toList (dart:_internal/iterable.dart:219:19)
#5      new Events.fromJson (package:googleapis/calendar/v3.dart:5164:12)
#6      EventsResourceApi.list.<anonymous closure> (package:googleapis/calendar/v3.dart:1996:41)
#7      _RootZone.runUnary (dart:async/zone.dart:1381:54)
#8      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#9      <…>
@mkustermann
Copy link
Contributor

@jakobr-google was looking into this iirc.

@jakobr-google
Copy link
Contributor

Yep. Unfortunately, we only get these errors at runtime, so we pretty much have to catch and fix them one by one.

I'll look into this one.

@jakobr-google
Copy link
Contributor

I'll track all the Dart 2 issues in #35.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants