25a16a39b3
Currently the encoder assumes that a map will have string keys, and will fail in ugly ways if it doesn't. With this change, the toEncodable function used on other un-encodable values is also used on non-String-keyed maps. BUG= http://dartbug.com/23469 R=sgjesse@google.com Review URL: https://codereview.chromium.org//1153893004