File tree 2 files changed +6
-5
lines changed 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 34
34
(` add ` , ` subtract ` , ` difference ` ) where the ` Duration ` argument or result
35
35
exceeds 570 years.
36
36
37
- - Added superinterface ` TypedDataList ` to typed data lists, implementing both
38
- ` List ` and ` TypedData ` . Allows abstracting over all such lists without losing
39
- access to either the ` List ` or the ` TypedData ` members.
40
- A ` ByteData ` is still only a ` TypedData ` , not a list.
41
-
42
37
[ #44876 ] : https://github.com/dart-lang/sdk/issues/44876
43
38
44
39
#### ` dart:typed_data `
49
44
To create an unmodifiable view of a typed-data object, use the
50
45
` asUnmodifiableView() ` methods added in Dart 3.3.
51
46
47
+ - Added superinterface ` TypedDataList ` to typed data lists, implementing both
48
+ ` List ` and ` TypedData ` . Allows abstracting over all such lists without losing
49
+ access to either the ` List ` or the ` TypedData ` members.
50
+ A ` ByteData ` is still only a ` TypedData ` , not a list.
51
+
52
52
[ #53785 ] : https://github.com/dart-lang/sdk/issues/53785
53
53
54
54
### Tools
Original file line number Diff line number Diff line change @@ -359,6 +359,7 @@ abstract final class TypedData {
359
359
}
360
360
361
361
/// A [TypedData] fixed-length [List] -view on the bytes of [buffer] .
362
+ @Since ("3.5" )
362
363
abstract final class TypedDataList <E > implements TypedData , List <E > {}
363
364
364
365
abstract final class _TypedIntList implements TypedDataList <int > {
You can’t perform that action at this time.
0 commit comments