mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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.