OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of app; | 5 part of app; |
6 | 6 |
7 class ExceptionNotification implements M.ExceptionNotification { | 7 class ExceptionNotification implements M.ExceptionNotification { |
8 final exception; | 8 final exception; |
| 9 |
9 /// [optional] | 10 /// [optional] |
10 final StackTrace stacktrace; | 11 final StackTrace stacktrace; |
11 ExceptionNotification(this.exception, {this.stacktrace}); | 12 ExceptionNotification(this.exception, {this.stacktrace}); |
12 } | 13 } |
13 | 14 |
14 class EventNotification implements M.EventNotification { | 15 class EventNotification implements M.EventNotification { |
15 final M.Event event; | 16 final M.Event event; |
16 EventNotification(this.event); | 17 EventNotification(this.event); |
17 } | 18 } |
OLD | NEW |