OLD | NEW |
1 | 1 |
2 class MemoryInfo native "*MemoryInfo" { | 2 class MemoryInfoJS implements MemoryInfo native "*MemoryInfo" { |
3 | 3 |
4 int get jsHeapSizeLimit() native "return this.jsHeapSizeLimit;"; | 4 int get jsHeapSizeLimit() native "return this.jsHeapSizeLimit;"; |
5 | 5 |
6 int get totalJSHeapSize() native "return this.totalJSHeapSize;"; | 6 int get totalJSHeapSize() native "return this.totalJSHeapSize;"; |
7 | 7 |
8 int get usedJSHeapSize() native "return this.usedJSHeapSize;"; | 8 int get usedJSHeapSize() native "return this.usedJSHeapSize;"; |
9 | 9 |
10 var dartObjectLocalStorage; | 10 var dartObjectLocalStorage; |
11 | 11 |
12 String get typeName() native; | 12 String get typeName() native; |
13 } | 13 } |
OLD | NEW |