| OLD | NEW |
| 1 library svg; | 1 library svg; |
| 2 | 2 |
| 3 import 'dart:collection'; | 3 import 'dart:collection'; |
| 4 import 'dart:html'; | 4 import 'dart:html'; |
| 5 import 'dart:html_common'; | 5 import 'dart:html_common'; |
| 6 // DO NOT EDIT | 6 // DO NOT EDIT |
| 7 // Auto-generated dart:svg library. | 7 // Auto-generated dart:svg library. |
| 8 | 8 |
| 9 | 9 |
| 10 | 10 |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 Collections.filter(this, <AnimatedLength>[], f); | 374 Collections.filter(this, <AnimatedLength>[], f); |
| 375 | 375 |
| 376 bool every(bool f(AnimatedLength element)) => Collections.every(this, f); | 376 bool every(bool f(AnimatedLength element)) => Collections.every(this, f); |
| 377 | 377 |
| 378 bool some(bool f(AnimatedLength element)) => Collections.some(this, f); | 378 bool some(bool f(AnimatedLength element)) => Collections.some(this, f); |
| 379 | 379 |
| 380 bool get isEmpty => this.length == 0; | 380 bool get isEmpty => this.length == 0; |
| 381 | 381 |
| 382 // From List<AnimatedLength>: | 382 // From List<AnimatedLength>: |
| 383 | 383 |
| 384 void sort([Comparator<AnimatedLength> compare = Comparable.compare]) { | 384 void sort([int compare(AnimatedLength a, AnimatedLength b)]) { |
| 385 throw new UnsupportedError("Cannot sort immutable List."); | 385 throw new UnsupportedError("Cannot sort immutable List."); |
| 386 } | 386 } |
| 387 | 387 |
| 388 int indexOf(AnimatedLength element, [int start = 0]) => | 388 int indexOf(AnimatedLength element, [int start = 0]) => |
| 389 Lists.indexOf(this, element, start, this.length); | 389 Lists.indexOf(this, element, start, this.length); |
| 390 | 390 |
| 391 int lastIndexOf(AnimatedLength element, [int start]) { | 391 int lastIndexOf(AnimatedLength element, [int start]) { |
| 392 if (start == null) start = length - 1; | 392 if (start == null) start = length - 1; |
| 393 return Lists.lastIndexOf(this, element, start); | 393 return Lists.lastIndexOf(this, element, start); |
| 394 } | 394 } |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 Collections.filter(this, <AnimatedNumber>[], f); | 495 Collections.filter(this, <AnimatedNumber>[], f); |
| 496 | 496 |
| 497 bool every(bool f(AnimatedNumber element)) => Collections.every(this, f); | 497 bool every(bool f(AnimatedNumber element)) => Collections.every(this, f); |
| 498 | 498 |
| 499 bool some(bool f(AnimatedNumber element)) => Collections.some(this, f); | 499 bool some(bool f(AnimatedNumber element)) => Collections.some(this, f); |
| 500 | 500 |
| 501 bool get isEmpty => this.length == 0; | 501 bool get isEmpty => this.length == 0; |
| 502 | 502 |
| 503 // From List<AnimatedNumber>: | 503 // From List<AnimatedNumber>: |
| 504 | 504 |
| 505 void sort([Comparator<AnimatedNumber> compare = Comparable.compare]) { | 505 void sort([int compare(AnimatedNumber a, AnimatedNumber b)]) { |
| 506 throw new UnsupportedError("Cannot sort immutable List."); | 506 throw new UnsupportedError("Cannot sort immutable List."); |
| 507 } | 507 } |
| 508 | 508 |
| 509 int indexOf(AnimatedNumber element, [int start = 0]) => | 509 int indexOf(AnimatedNumber element, [int start = 0]) => |
| 510 Lists.indexOf(this, element, start, this.length); | 510 Lists.indexOf(this, element, start, this.length); |
| 511 | 511 |
| 512 int lastIndexOf(AnimatedNumber element, [int start]) { | 512 int lastIndexOf(AnimatedNumber element, [int start]) { |
| 513 if (start == null) start = length - 1; | 513 if (start == null) start = length - 1; |
| 514 return Lists.lastIndexOf(this, element, start); | 514 return Lists.lastIndexOf(this, element, start); |
| 515 } | 515 } |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 Collections.filter(this, <AnimateTransformElement>[], f); | 644 Collections.filter(this, <AnimateTransformElement>[], f); |
| 645 | 645 |
| 646 bool every(bool f(AnimateTransformElement element)) => Collections.every(this,
f); | 646 bool every(bool f(AnimateTransformElement element)) => Collections.every(this,
f); |
| 647 | 647 |
| 648 bool some(bool f(AnimateTransformElement element)) => Collections.some(this, f
); | 648 bool some(bool f(AnimateTransformElement element)) => Collections.some(this, f
); |
| 649 | 649 |
| 650 bool get isEmpty => this.length == 0; | 650 bool get isEmpty => this.length == 0; |
| 651 | 651 |
| 652 // From List<AnimateTransformElement>: | 652 // From List<AnimateTransformElement>: |
| 653 | 653 |
| 654 void sort([Comparator<AnimateTransformElement> compare = Comparable.compare])
{ | 654 void sort([int compare(AnimateTransformElement a, AnimateTransformElement b)])
{ |
| 655 throw new UnsupportedError("Cannot sort immutable List."); | 655 throw new UnsupportedError("Cannot sort immutable List."); |
| 656 } | 656 } |
| 657 | 657 |
| 658 int indexOf(AnimateTransformElement element, [int start = 0]) => | 658 int indexOf(AnimateTransformElement element, [int start = 0]) => |
| 659 Lists.indexOf(this, element, start, this.length); | 659 Lists.indexOf(this, element, start, this.length); |
| 660 | 660 |
| 661 int lastIndexOf(AnimateTransformElement element, [int start]) { | 661 int lastIndexOf(AnimateTransformElement element, [int start]) { |
| 662 if (start == null) start = length - 1; | 662 if (start == null) start = length - 1; |
| 663 return Lists.lastIndexOf(this, element, start); | 663 return Lists.lastIndexOf(this, element, start); |
| 664 } | 664 } |
| (...skipping 2380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3045 Collections.filter(this, <Length>[], f); | 3045 Collections.filter(this, <Length>[], f); |
| 3046 | 3046 |
| 3047 bool every(bool f(Length element)) => Collections.every(this, f); | 3047 bool every(bool f(Length element)) => Collections.every(this, f); |
| 3048 | 3048 |
| 3049 bool some(bool f(Length element)) => Collections.some(this, f); | 3049 bool some(bool f(Length element)) => Collections.some(this, f); |
| 3050 | 3050 |
| 3051 bool get isEmpty => this.length == 0; | 3051 bool get isEmpty => this.length == 0; |
| 3052 | 3052 |
| 3053 // From List<Length>: | 3053 // From List<Length>: |
| 3054 | 3054 |
| 3055 void sort([Comparator<Length> compare = Comparable.compare]) { | 3055 void sort([int compare(Length a, Length b)]) { |
| 3056 throw new UnsupportedError("Cannot sort immutable List."); | 3056 throw new UnsupportedError("Cannot sort immutable List."); |
| 3057 } | 3057 } |
| 3058 | 3058 |
| 3059 int indexOf(Length element, [int start = 0]) => | 3059 int indexOf(Length element, [int start = 0]) => |
| 3060 Lists.indexOf(this, element, start, this.length); | 3060 Lists.indexOf(this, element, start, this.length); |
| 3061 | 3061 |
| 3062 int lastIndexOf(Length element, [int start]) { | 3062 int lastIndexOf(Length element, [int start]) { |
| 3063 if (start == null) start = length - 1; | 3063 if (start == null) start = length - 1; |
| 3064 return Lists.lastIndexOf(this, element, start); | 3064 return Lists.lastIndexOf(this, element, start); |
| 3065 } | 3065 } |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3559 Collections.filter(this, <Number>[], f); | 3559 Collections.filter(this, <Number>[], f); |
| 3560 | 3560 |
| 3561 bool every(bool f(Number element)) => Collections.every(this, f); | 3561 bool every(bool f(Number element)) => Collections.every(this, f); |
| 3562 | 3562 |
| 3563 bool some(bool f(Number element)) => Collections.some(this, f); | 3563 bool some(bool f(Number element)) => Collections.some(this, f); |
| 3564 | 3564 |
| 3565 bool get isEmpty => this.length == 0; | 3565 bool get isEmpty => this.length == 0; |
| 3566 | 3566 |
| 3567 // From List<Number>: | 3567 // From List<Number>: |
| 3568 | 3568 |
| 3569 void sort([Comparator<Number> compare = Comparable.compare]) { | 3569 void sort([int compare(Number a, Number b)]) { |
| 3570 throw new UnsupportedError("Cannot sort immutable List."); | 3570 throw new UnsupportedError("Cannot sort immutable List."); |
| 3571 } | 3571 } |
| 3572 | 3572 |
| 3573 int indexOf(Number element, [int start = 0]) => | 3573 int indexOf(Number element, [int start = 0]) => |
| 3574 Lists.indexOf(this, element, start, this.length); | 3574 Lists.indexOf(this, element, start, this.length); |
| 3575 | 3575 |
| 3576 int lastIndexOf(Number element, [int start]) { | 3576 int lastIndexOf(Number element, [int start]) { |
| 3577 if (start == null) start = length - 1; | 3577 if (start == null) start = length - 1; |
| 3578 return Lists.lastIndexOf(this, element, start); | 3578 return Lists.lastIndexOf(this, element, start); |
| 3579 } | 3579 } |
| (...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4252 Collections.filter(this, <PathSeg>[], f); | 4252 Collections.filter(this, <PathSeg>[], f); |
| 4253 | 4253 |
| 4254 bool every(bool f(PathSeg element)) => Collections.every(this, f); | 4254 bool every(bool f(PathSeg element)) => Collections.every(this, f); |
| 4255 | 4255 |
| 4256 bool some(bool f(PathSeg element)) => Collections.some(this, f); | 4256 bool some(bool f(PathSeg element)) => Collections.some(this, f); |
| 4257 | 4257 |
| 4258 bool get isEmpty => this.length == 0; | 4258 bool get isEmpty => this.length == 0; |
| 4259 | 4259 |
| 4260 // From List<PathSeg>: | 4260 // From List<PathSeg>: |
| 4261 | 4261 |
| 4262 void sort([Comparator<PathSeg> compare = Comparable.compare]) { | 4262 void sort([int compare(PathSeg a, PathSeg b)]) { |
| 4263 throw new UnsupportedError("Cannot sort immutable List."); | 4263 throw new UnsupportedError("Cannot sort immutable List."); |
| 4264 } | 4264 } |
| 4265 | 4265 |
| 4266 int indexOf(PathSeg element, [int start = 0]) => | 4266 int indexOf(PathSeg element, [int start = 0]) => |
| 4267 Lists.indexOf(this, element, start, this.length); | 4267 Lists.indexOf(this, element, start, this.length); |
| 4268 | 4268 |
| 4269 int lastIndexOf(PathSeg element, [int start]) { | 4269 int lastIndexOf(PathSeg element, [int start]) { |
| 4270 if (start == null) start = length - 1; | 4270 if (start == null) start = length - 1; |
| 4271 return Lists.lastIndexOf(this, element, start); | 4271 return Lists.lastIndexOf(this, element, start); |
| 4272 } | 4272 } |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4963 Collections.filter(this, <String>[], f); | 4963 Collections.filter(this, <String>[], f); |
| 4964 | 4964 |
| 4965 bool every(bool f(String element)) => Collections.every(this, f); | 4965 bool every(bool f(String element)) => Collections.every(this, f); |
| 4966 | 4966 |
| 4967 bool some(bool f(String element)) => Collections.some(this, f); | 4967 bool some(bool f(String element)) => Collections.some(this, f); |
| 4968 | 4968 |
| 4969 bool get isEmpty => this.length == 0; | 4969 bool get isEmpty => this.length == 0; |
| 4970 | 4970 |
| 4971 // From List<String>: | 4971 // From List<String>: |
| 4972 | 4972 |
| 4973 void sort([Comparator<String> compare = Comparable.compare]) { | 4973 void sort([int compare(String a, String b)]) { |
| 4974 throw new UnsupportedError("Cannot sort immutable List."); | 4974 throw new UnsupportedError("Cannot sort immutable List."); |
| 4975 } | 4975 } |
| 4976 | 4976 |
| 4977 int indexOf(String element, [int start = 0]) => | 4977 int indexOf(String element, [int start = 0]) => |
| 4978 Lists.indexOf(this, element, start, this.length); | 4978 Lists.indexOf(this, element, start, this.length); |
| 4979 | 4979 |
| 4980 int lastIndexOf(String element, [int start]) { | 4980 int lastIndexOf(String element, [int start]) { |
| 4981 if (start == null) start = length - 1; | 4981 if (start == null) start = length - 1; |
| 4982 return Lists.lastIndexOf(this, element, start); | 4982 return Lists.lastIndexOf(this, element, start); |
| 4983 } | 4983 } |
| (...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5941 Collections.filter(this, <Transform>[], f); | 5941 Collections.filter(this, <Transform>[], f); |
| 5942 | 5942 |
| 5943 bool every(bool f(Transform element)) => Collections.every(this, f); | 5943 bool every(bool f(Transform element)) => Collections.every(this, f); |
| 5944 | 5944 |
| 5945 bool some(bool f(Transform element)) => Collections.some(this, f); | 5945 bool some(bool f(Transform element)) => Collections.some(this, f); |
| 5946 | 5946 |
| 5947 bool get isEmpty => this.length == 0; | 5947 bool get isEmpty => this.length == 0; |
| 5948 | 5948 |
| 5949 // From List<Transform>: | 5949 // From List<Transform>: |
| 5950 | 5950 |
| 5951 void sort([Comparator<Transform> compare = Comparable.compare]) { | 5951 void sort([int compare(Transform a, Transform b)]) { |
| 5952 throw new UnsupportedError("Cannot sort immutable List."); | 5952 throw new UnsupportedError("Cannot sort immutable List."); |
| 5953 } | 5953 } |
| 5954 | 5954 |
| 5955 int indexOf(Transform element, [int start = 0]) => | 5955 int indexOf(Transform element, [int start = 0]) => |
| 5956 Lists.indexOf(this, element, start, this.length); | 5956 Lists.indexOf(this, element, start, this.length); |
| 5957 | 5957 |
| 5958 int lastIndexOf(Transform element, [int start]) { | 5958 int lastIndexOf(Transform element, [int start]) { |
| 5959 if (start == null) start = length - 1; | 5959 if (start == null) start = length - 1; |
| 5960 return Lists.lastIndexOf(this, element, start); | 5960 return Lists.lastIndexOf(this, element, start); |
| 5961 } | 5961 } |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6339 Collections.filter(this, <ElementInstance>[], f); | 6339 Collections.filter(this, <ElementInstance>[], f); |
| 6340 | 6340 |
| 6341 bool every(bool f(ElementInstance element)) => Collections.every(this, f); | 6341 bool every(bool f(ElementInstance element)) => Collections.every(this, f); |
| 6342 | 6342 |
| 6343 bool some(bool f(ElementInstance element)) => Collections.some(this, f); | 6343 bool some(bool f(ElementInstance element)) => Collections.some(this, f); |
| 6344 | 6344 |
| 6345 bool get isEmpty => this.length == 0; | 6345 bool get isEmpty => this.length == 0; |
| 6346 | 6346 |
| 6347 // From List<ElementInstance>: | 6347 // From List<ElementInstance>: |
| 6348 | 6348 |
| 6349 void sort([Comparator<ElementInstance> compare = Comparable.compare]) { | 6349 void sort([int compare(ElementInstance a, ElementInstance b)]) { |
| 6350 throw new UnsupportedError("Cannot sort immutable List."); | 6350 throw new UnsupportedError("Cannot sort immutable List."); |
| 6351 } | 6351 } |
| 6352 | 6352 |
| 6353 int indexOf(ElementInstance element, [int start = 0]) => | 6353 int indexOf(ElementInstance element, [int start = 0]) => |
| 6354 Lists.indexOf(this, element, start, this.length); | 6354 Lists.indexOf(this, element, start, this.length); |
| 6355 | 6355 |
| 6356 int lastIndexOf(ElementInstance element, [int start]) { | 6356 int lastIndexOf(ElementInstance element, [int start]) { |
| 6357 if (start == null) start = length - 1; | 6357 if (start == null) start = length - 1; |
| 6358 return Lists.lastIndexOf(this, element, start); | 6358 return Lists.lastIndexOf(this, element, start); |
| 6359 } | 6359 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 6383 } | 6383 } |
| 6384 | 6384 |
| 6385 List<ElementInstance> getRange(int start, int rangeLength) => | 6385 List<ElementInstance> getRange(int start, int rangeLength) => |
| 6386 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 6386 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
| 6387 | 6387 |
| 6388 // -- end List<ElementInstance> mixins. | 6388 // -- end List<ElementInstance> mixins. |
| 6389 | 6389 |
| 6390 /// @domName SVGElementInstanceList.item; @docsEditable true | 6390 /// @domName SVGElementInstanceList.item; @docsEditable true |
| 6391 ElementInstance item(int index) native; | 6391 ElementInstance item(int index) native; |
| 6392 } | 6392 } |
| OLD | NEW |