commit | d8a131905dc13cd05b6278ebbc1c59e4ea8be4a6 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Thu Jun 22 19:07:40 2023 +0000 |
committer | dart-internal-monorepo <dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com> | Thu Jun 22 12:09:05 2023 -0700 |
tree | 2df056e74611962cef220c0f0cbbc86535be33fa | |
parent | f0f992597861482c5c12f2e19e37b32db7b7afb1 [diff] |
Expand docs for Stream.lastWhere and singleWhere Closes #30071 Add a template in the `firstWhere` doc for the paragraph about `orElse` handling. Expand the discussion around error handling in the `lastWhere` and `singleWhere` docs without relying on reading the `firstWhere` doc first. R=lrn@google.com Change-Id: I302381bb5f4f7daa392ee22bbf667db7d7259ef5 CoreLibraryReviewExempt: Doc changes only. Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310761 Commit-Queue: Nate Bosch <nbosch@google.com> Reviewed-by: Lasse Nielsen <lrn@google.com> https://dart.googlesource.com/sdk/+/a282120406e22db4651dd5e69a5d9302008eeec5