The following Dart core library APIs, which are all currently deprecated, are now being fully removed.
This is the continuation of previous discontinuation work tracked in #34233
Phase II, scheduled for Dart 3.0
The following APIs are planned to be removed in 3.0, as some breakage is to be expected.
API changes which we believe are minimally breaking
dart:core
dart:async
dart:developer
dart:mirrors
None.
dart:html
API changes which may be more breaking
These are postponed, and not planned for inclusion in Dart 3.
### dart:core
### dart:async
The following Dart core library APIs, which are all currently deprecated, are now being fully removed.
This is the continuation of previous discontinuation work tracked in #34233
Phase II, scheduled for Dart 3.0
The following APIs are planned to be removed in 3.0, as some breakage is to be expected.
API changes which we believe are minimally breaking
dart:coreonErrorargument toint.parse,double.parse,num.parse:CL: https://dart-review.googlesource.com/c/sdk/+/259042
proxyconstant:CL: https://dart-review.googlesource.com/c/sdk/+/258004
Provisionalclass and associated constant:CL: https://dart-review.googlesource.com/c/sdk/+/258004
Listconstructor (useList.Filled):CL: https://dart-review.googlesource.com/c/sdk/+/258920
BidirectionalIteratorclass:CL: https://dart-review.googlesource.com/c/sdk/+/276741
Deprecated.expiresgetter onDeprecated. UseDeprecated.messageinstead.AbstractClassInstantiationErrorclass (no longer relevant indart:corelibraries.dart:mirrorsmay still throw it and now has it's own definition of it):CL: https://dart-review.googlesource.com/c/sdk/+/274383
CastErrorclass (useTypeError):https://dart-review.googlesource.com/c/sdk/+/259041
FallThroughErrorclass (Unused since Dart 2.0):https://dart-review.googlesource.com/c/sdk/+/261860,
CL: https://dart-review.googlesource.com/c/sdk/+/259041
NoSuchMethodErrordefault constructor (use the named constructorNoSuchMethod.withInvocation):CL: https://dart-review.googlesource.com/c/sdk/+/271082
CyclicInitializationError(will never be thrown from code with sound null safety):https://dart-review.git.corp.google.com/c/sdk/+/275120
NullThrownError(will never be thrown from code with sound null safety):https://dart-review.googlesource.com/c/sdk/+/275840
dart:asyncDeferredLibraryclass (use thedeferred asimport syntax):CL: https://dart-review.git.corp.google.com/c/sdk/+/268460
dart:developerMAX_USER_TAGSinUserTag:CL: https://dart-review.git.corp.google.com/c/sdk/+/268340
dart:mirrorsNone.
dart:htmldocument.registerElement®isterElement2:[dart:html] Breaking change: delete registerElement* APIs in dart:html #49536,
CL 📝: https://dart-review.git.corp.google.com/c/sdk/+/268461
API changes which may be more breaking
These are postponed, and not planned for inclusion in Dart 3.
###dart:core[ ]IntegerDivisionByZeroExceptionexception (useUnsupportedError):RemoveIntegerDivisionByZeroException#30743[ ] Errors:###dart:async[ ]runZonedarg ononError:CL: https://dart-review.googlesource.com/c/sdk/+/248002