commit | d656d52f1c0feb9322132558b632dd5c858017aa | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Fri Jan 07 16:08:07 2022 -0800 |
committer | GitHub <noreply@github.com> | Fri Jan 07 16:08:07 2022 -0800 |
tree | 11cbbbd539741b5c89009ea29490d6ef3dd25e60 | |
parent | 8de56e65d130375e57cabeab3e699979f7a5aeff [diff] |
Fix implicit null returns (#1659) Recent Dart SDK versions surface an analyzer diagnostic for functions which use an implicit return at the end for the `null` case. Migrate from `@alwaysThrows` to a `Never` return type to correct flow analysis. Add an explicit `return null` in one method.