OLD | NEW |
1 | 1 |
2 class FileWriterSync native "*FileWriterSync" { | 2 class FileWriterSyncJS implements FileWriterSync native "*FileWriterSync" { |
3 | 3 |
4 int get length() native "return this.length;"; | 4 int get length() native "return this.length;"; |
5 | 5 |
6 int get position() native "return this.position;"; | 6 int get position() native "return this.position;"; |
7 | 7 |
8 void seek(int position) native; | 8 void seek(int position) native; |
9 | 9 |
10 void truncate(int size) native; | 10 void truncate(int size) native; |
11 | 11 |
12 void write(Blob data) native; | 12 void write(BlobJS data) native; |
13 | 13 |
14 var dartObjectLocalStorage; | 14 var dartObjectLocalStorage; |
15 | 15 |
16 String get typeName() native; | 16 String get typeName() native; |
17 } | 17 } |
OLD | NEW |