| 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 |
| 10 void appendMedium(String newMedium) native; | 14 void appendMedium(String newMedium) native; |
| 11 | 15 |
| 12 void deleteMedium(String oldMedium) native; | 16 void deleteMedium(String oldMedium) native; |
| 13 | 17 |
| 14 String item(int index) native; | 18 String item(int index) native; |
| 15 | 19 |
| 16 var dartObjectLocalStorage; | 20 var dartObjectLocalStorage; |
| 17 | 21 |
| 18 String get typeName() native; | 22 String get typeName() native; |
| 19 } | 23 } |
| OLD | NEW |