[flutter_releases] Flutter stable 3.22.3 Framework Cherrypicks (#151687)
diff --git a/bin/internal/engine.version b/bin/internal/engine.version
index 56221a2..5e422a6 100644
--- a/bin/internal/engine.version
+++ b/bin/internal/engine.version
@@ -1 +1 @@
-edd8546116457bdf1c5bdfb13ecb9463d2bb5ed4
+235db911ba279722f5e685f38b0ed30fa7e8570a
diff --git a/packages/flutter/lib/src/foundation/constants.dart b/packages/flutter/lib/src/foundation/constants.dart
index ec42df6..678408c 100644
--- a/packages/flutter/lib/src/foundation/constants.dart
+++ b/packages/flutter/lib/src/foundation/constants.dart
@@ -78,3 +78,15 @@
/// * [dart:io.Platform], a way to find out the browser's platform that is not
/// overridable in tests.
const bool kIsWeb = bool.fromEnvironment('dart.library.js_util');
+
+/// A constant that is true if the application was compiled to WebAssembly.
+///
+/// See also:
+///
+/// * [defaultTargetPlatform], which is used by themes to find out which
+/// platform the application is running on (or, in the case of a web app,
+/// which platform the application's browser is running in). Can be overridden
+/// in tests with [debugDefaultTargetPlatformOverride].
+/// * [dart:io.Platform], a way to find out the browser's platform that is not
+/// overridable in tests.
+const bool kIsWasm = bool.fromEnvironment('dart.tool.dart2wasm');