OLD | NEW |
1 | 1 |
2 class NotificationCenterJs extends DOMTypeJs implements NotificationCenter nativ
e "*NotificationCenter" { | 2 class _NotificationCenterJs extends _DOMTypeJs implements NotificationCenter nat
ive "*NotificationCenter" { |
3 | 3 |
4 int checkPermission() native; | 4 int checkPermission() native; |
5 | 5 |
6 NotificationJs createHTMLNotification(String url) native; | 6 _NotificationJs createHTMLNotification(String url) native; |
7 | 7 |
8 NotificationJs createNotification(String iconUrl, String title, String body) n
ative; | 8 _NotificationJs createNotification(String iconUrl, String title, String body)
native; |
9 | 9 |
10 void requestPermission(VoidCallback callback) native; | 10 void requestPermission(VoidCallback callback) native; |
11 } | 11 } |
OLD | NEW |