Skip to content

Commit 6a26305

Browse files
authored
Update documentation for PlatformException.stacktrace (#114028)
* Update message_codec.dart * remove whitespace * Update doc comment * Update message_codec.dart
1 parent 94b9fa4 commit 6a26305

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/flutter/lib/src/services/message_codec.dart

+4
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ class PlatformException implements Exception {
187187
/// ```
188188
///
189189
/// In the cases described above, the content of [stacktrace] will be the unprocessed output of calling `toString()` on the exception.
190+
///
191+
/// MacOS, iOS, Linux and Windows don't support querying the native stacktrace.
192+
///
193+
/// On custom Flutter embedders this value will be null on platforms that don't support querying the call stack.
190194
final String? stacktrace;
191195

192196
@override

0 commit comments

Comments
 (0)