Skip to content

Commit

Permalink
Update documentation for PlatformException.stacktrace (#114028)
Browse files Browse the repository at this point in the history
* Update message_codec.dart

* remove whitespace

* Update doc comment

* Update message_codec.dart
  • Loading branch information
ueman authored Nov 22, 2022
1 parent 94b9fa4 commit 6a26305
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/flutter/lib/src/services/message_codec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a26305

Please sign in to comment.