OLD | NEW |
1 | 1 |
2 class NotificationCenterJS implements NotificationCenter native "*NotificationCe
nter" { | 2 class NotificationCenterJs extends DOMTypeJs implements NotificationCenter nativ
e "*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) n
ative; |
9 | 9 |
10 void requestPermission(VoidCallback callback) native; | 10 void requestPermission(VoidCallback callback) native; |
11 | |
12 var dartObjectLocalStorage; | |
13 | |
14 String get typeName() native; | |
15 } | 11 } |
OLD | NEW |