Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Error: The getter 'JSON' isn't defined for the class '#lib1::ThemeService #1

Closed
ryanhz opened this issue Aug 27, 2018 · 1 comment
Closed

Comments

@ryanhz
Copy link

ryanhz commented Aug 27, 2018

compiler message: file:///Users/Ryan/Applications/flutter/.pub-cache/git/flutterial_components-987e83ceb2328f5400991a50b7a476d48e5e3e5d/lib/src/theme_service.dart:34:22: Error: Getter not found: 'JSON'.
compiler message: final themeMap = JSON.decode(jsonTheme);
compiler message: ^^^^
compiler message: file:///Users/Ryan/Applications/flutter/.pub-cache/git/flutterial_components-987e83ceb2328f5400991a50b7a476d48e5e3e5d/lib/src/theme_service.dart:34:22: Error: The getter 'JSON' isn't defined for the class '#lib1::ThemeService'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'JSON'.
compiler message: final themeMap = JSON.decode(jsonTheme);

@rxlabz
Copy link
Owner

rxlabz commented Dec 20, 2018

Thanks ! ( and sorry for the delay ). the Json export/import is deactivated for now and will be reimplemented. I close this.

@rxlabz rxlabz closed this as completed Dec 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants