Commit a4bbb63
committed
store [nfc]: Make account-exists assumption explicit in some dartdocs
In particular:
GlobalStore.loadPerAccount
GlobalStore.doLoadPerAccount
UpdateMachine.load
The first two already have an `assert` that the account exists, and
the third has a ! null-check. They're called in a chain from two
places, and we have the account in both: the initial account load
and the reload (GlobalStore._reloadPerAccount).1 parent fa69d00 commit a4bbb63
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
| |||
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
192 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
193 | 197 | | |
194 | 198 | | |
195 | 199 | | |
| |||
909 | 913 | | |
910 | 914 | | |
911 | 915 | | |
912 | | - | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
913 | 920 | | |
914 | 921 | | |
915 | 922 | | |
| |||
0 commit comments