mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This PR removes the old `futureToPromise` implementation (which was barely used), and replaces it by a more standard js_interop approach. Fixes https://github.com/flutter/flutter/issues/155732 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style