| Index: src/site/docs/dart-up-and-running/ch03.markdown
|
| diff --git a/src/site/docs/dart-up-and-running/ch03.markdown b/src/site/docs/dart-up-and-running/ch03.markdown
|
| index 74ec8a407aba529f0be6dacb940b978bffd6f3ea..562449238590b53bb0b96c0466ec140ba672f20b 100644
|
| --- a/src/site/docs/dart-up-and-running/ch03.markdown
|
| +++ b/src/site/docs/dart-up-and-running/ch03.markdown
|
| @@ -967,7 +967,7 @@ implementing the Exception interface:
|
| class FooException implements Exception {
|
| final String msg;
|
| const FooException([this.msg]);
|
| - String toString() => msg == null ? 'FooException' : msg;
|
| + String toString() => msg ?? 'FooException';
|
| }
|
| {% endprettify %}
|
|
|
|
|