| OLD | NEW |
| 1 | 1 |
| 2 class FileReader native "*FileReader" { | 2 class FileReader native "*FileReader" { |
| 3 FileReader() native; | 3 FileReader() native; |
| 4 | 4 |
| 5 | 5 |
| 6 static final int DONE = 2; | 6 static final int DONE = 2; |
| 7 | 7 |
| 8 static final int EMPTY = 0; | 8 static final int EMPTY = 0; |
| 9 | 9 |
| 10 static final int LOADING = 1; | 10 static final int LOADING = 1; |
| 11 | 11 |
| 12 FileError error; | 12 FileError error; |
| 13 | 13 |
| 14 EventListener onabort; |
| 15 |
| 16 EventListener onerror; |
| 17 |
| 18 EventListener onload; |
| 19 |
| 20 EventListener onloadend; |
| 21 |
| 22 EventListener onloadstart; |
| 23 |
| 24 EventListener onprogress; |
| 25 |
| 14 int readyState; | 26 int readyState; |
| 15 | 27 |
| 16 Object result; | 28 Object result; |
| 17 | 29 |
| 18 void abort() native; | 30 void abort() native; |
| 19 | 31 |
| 20 void readAsArrayBuffer(Blob blob) native; | 32 void readAsArrayBuffer(Blob blob) native; |
| 21 | 33 |
| 22 void readAsBinaryString(Blob blob) native; | 34 void readAsBinaryString(Blob blob) native; |
| 23 | 35 |
| 24 void readAsDataURL(Blob blob) native; | 36 void readAsDataURL(Blob blob) native; |
| 25 | 37 |
| 26 void readAsText(Blob blob, [String encoding = null]) native; | 38 void readAsText(Blob blob, [String encoding = null]) native; |
| 27 | 39 |
| 28 var dartObjectLocalStorage; | 40 var dartObjectLocalStorage; |
| 29 | 41 |
| 30 String get typeName() native; | 42 String get typeName() native; |
| 31 } | 43 } |
| OLD | NEW |