You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package: test_app/data/repository.dart: error: line 154:24 Error: The getter ‘JSON’ isn’t defined for the class ‘#lib::Repository’.
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘JSON’.
I am using Flutter SDK v1.0 stable, and here are the dependencies versions I have in the pubspec.yaml:
I've just seen the current pull request by @bnchdrff, it helped solve the issue:
In repository.dart changed JSON.decode(response.body) to jsonDecode(response.body)
And in collection_preview.dart changed double.INFINITY to double.infinity
The app throws the following error:
I am using Flutter SDK v1.0 stable, and here are the dependencies versions I have in the pubspec.yaml:
http: ^0.11.3+16
sqflite: ^0.13.0
path_provider: "^0.4.1"
redux: '^3.0.0'
flutter_redux: '^0.5.2'
cupertino_icons: ^0.1.2
rxdart: 0.19.0
The text was updated successfully, but these errors were encountered: