chrisbu / dartwatch-JsonObject

JsonObject which allows dot notation access to JSON.parse'd objects. Read the article on http://www.dartlang.org/articles/json-web-service/
http://www.dartlang.org/articles/json-web-service/
MIT License
83 stars 25 forks source link

Using Experimental Mirrors Based Approach, getting exception: Class '_LocalInstanceMirrorImpl' has no instance method 'then'. #32

Open proteme opened 11 years ago

proteme commented 11 years ago

Thanks for this valuable effort. I have just started playing with it.

I am using the following code as suggested by the documentation:

objectToJson(instanceOfMyClass).then((jsonStr) => print(jsonStr));

However, I get the exception: Breaking on exception: Class '_LocalInstanceMirrorImpl' has no instance method 'then'.