Skip to content

Commit

Permalink
Merge pull request #16 from xsampedro/fix/warning_null_aware_op_on_nu…
Browse files Browse the repository at this point in the history
…ll_excluded_type

Handler type already excludes null.
  • Loading branch information
escamoteur committed Feb 4, 2022
2 parents 3ffa74f + 7252b81 commit 0f37aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/mixin_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ class _MixinState {
watch.lastValue = AsyncSnapshot<R?>.withData(
ConnectionState.waiting, _initialValue ?? initialValueProvider?.call());
if (executeImmediately) {
handler!(_element!, watch.lastValue!, watch.dispose);
handler(_element!, watch.lastValue!, watch.dispose);
}

return watch.lastValue!;
Expand Down

0 comments on commit 0f37aa3

Please sign in to comment.