| OLD | NEW |
| 1 | 1 |
| 2 class MediaList native "*MediaList" { | 2 class MediaList native "*MediaList" { |
| 3 | 3 |
| 4 int length; | 4 int length; |
| 5 | 5 |
| 6 String mediaText; | 6 String mediaText; |
| 7 | 7 |
| 8 String operator[](int index) native; | 8 String operator[](int index) native; |
| 9 | 9 |
| 10 void operator[]=(int index, String value) { | |
| 11 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); | |
| 12 } | |
| 13 | |
| 14 void appendMedium(String newMedium) native; | 10 void appendMedium(String newMedium) native; |
| 15 | 11 |
| 16 void deleteMedium(String oldMedium) native; | 12 void deleteMedium(String oldMedium) native; |
| 17 | 13 |
| 18 String item(int index) native; | 14 String item(int index) native; |
| 19 | 15 |
| 20 var dartObjectLocalStorage; | 16 var dartObjectLocalStorage; |
| 21 | 17 |
| 22 String get typeName() native; | 18 String get typeName() native; |
| 23 } | 19 } |
| OLD | NEW |