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 models; | 5 part of models; |
6 | 6 |
7 abstract class Notification {} | 7 abstract class Notification {} |
8 | 8 |
9 abstract class ExceptionNotification implements Notification{ | 9 abstract class ExceptionNotification implements Notification{ |
10 Exception get exception; | 10 Exception get exception; |
11 /// [optional] | 11 /// [optional] |
12 StackTrace get stacktrace; | 12 StackTrace get stacktrace; |
13 } | 13 } |
14 | 14 |
15 abstract class EventNotification implements Notification{ | 15 abstract class EventNotification implements Notification{ |
16 Event get event; | 16 Event get event; |
17 } | 17 } |
OLD | NEW |