File tree 2 files changed +8
-5
lines changed 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 12
12
13
13
### Libraries
14
14
15
+ #### ` dart:io `
16
+
17
+ - ** Breaking Change** [ #52444 ] [ ] : Removed the ` Platform() ` constructor, which
18
+ has been deprecated since Dart 3.1.
19
+
20
+ [ #52444 ] : https://github.com/dart-lang/sdk/issues/52444
21
+
15
22
#### ` dart:js_interop `
16
23
17
24
- Added constructors for ` JSArrayBuffer ` , ` JSDataView ` , and concrete typed array
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ part of dart.io;
58
58
/// }
59
59
/// }
60
60
/// ```
61
- final class Platform {
61
+ abstract final class Platform {
62
62
/// The number of individual execution units of the machine.
63
63
static final numberOfProcessors = _Platform .numberOfProcessors;
64
64
@@ -243,8 +243,4 @@ final class Platform {
243
243
/// `"\r\n"`
244
244
@pragma ("vm:platform-const" )
245
245
static String get lineTerminator => isWindows ? '\r\n ' : '\n ' ;
246
-
247
- @Deprecated ("Do not instantiate this class, it will become abstract in a "
248
- "future Dart version" )
249
- Platform ();
250
246
}
You can’t perform that action at this time.
0 commit comments