Greg Spencer b5812aaaa3 Make PlatformDispatcher.locale and locales return consistent values (flutter/engine#22267)
For some reason (probably a bad merge on my part), the return values for locale and locales are not the same on web as they are on other platforms for the PlatformDispatcher and SingletonFlutterWindow classes. The web versions are non-nullable and the others are nullable.

This converts them to be the same (non-nullable) values.
2020-11-11 16:30:22 -08:00
..