Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark new IndexError methods with
@Since
The new methods `IndexError.withLength` and `IndexError.check` shouldn't be used by any projects relying on SDK versions prior to 2.19 (since they're not available in older SDKs). Adding `@Since("2.19")` ensures that once #34978 is fixed, these methods will trigger a lint to fire if they're used in a project targeting an older SDK version. Change-Id: I5b43ffba2def391b84a4f3f7d8eecaae766e7656 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269142 Reviewed-by: Kallen Tu <[email protected]> Commit-Queue: Paul Berry <[email protected]>
- Loading branch information