OLD | NEW |
(Empty) | |
| 1 |
| 2 class _NotificationImpl extends _EventTargetImpl implements Notification { |
| 3 _NotificationImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 String get dir() => _wrap(_ptr.dir); |
| 6 |
| 7 void set dir(String value) { _ptr.dir = _unwrap(value); } |
| 8 |
| 9 String get replaceId() => _wrap(_ptr.replaceId); |
| 10 |
| 11 void set replaceId(String value) { _ptr.replaceId = _unwrap(value); } |
| 12 |
| 13 _NotificationEventsImpl get on() { |
| 14 if (_on == null) _on = new _NotificationEventsImpl(this); |
| 15 return _on; |
| 16 } |
| 17 |
| 18 void cancel() { |
| 19 _ptr.cancel(); |
| 20 return; |
| 21 } |
| 22 |
| 23 void show() { |
| 24 _ptr.show(); |
| 25 return; |
| 26 } |
| 27 } |
| 28 |
| 29 class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents
{ |
| 30 _NotificationEventsImpl(_ptr) : super(_ptr); |
| 31 |
| 32 EventListenerList get click() => _get('click'); |
| 33 |
| 34 EventListenerList get close() => _get('close'); |
| 35 |
| 36 EventListenerList get display() => _get('display'); |
| 37 |
| 38 EventListenerList get error() => _get('error'); |
| 39 |
| 40 EventListenerList get show() => _get('show'); |
| 41 } |
OLD | NEW |