diff --git a/packages/flutter/lib/src/services/message_codec.dart b/packages/flutter/lib/src/services/message_codec.dart index 16af277ea8..dd355c1fe0 100644 --- a/packages/flutter/lib/src/services/message_codec.dart +++ b/packages/flutter/lib/src/services/message_codec.dart @@ -187,6 +187,10 @@ class PlatformException implements Exception { /// ``` /// /// In the cases described above, the content of [stacktrace] will be the unprocessed output of calling `toString()` on the exception. + /// + /// MacOS, iOS, Linux and Windows don't support querying the native stacktrace. + /// + /// On custom Flutter embedders this value will be null on platforms that don't support querying the call stack. final String? stacktrace; @override