From 6a26305d1cf3c7111e600c511e70478edd18ab9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Uek=C3=B6tter?= Date: Tue, 22 Nov 2022 23:54:21 +0100 Subject: [PATCH] Update documentation for `PlatformException.stacktrace` (#114028) * Update message_codec.dart * remove whitespace * Update doc comment * Update message_codec.dart --- packages/flutter/lib/src/services/message_codec.dart | 4 ++++ 1 file changed, 4 insertions(+) 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