Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
robbecker-wf committed Aug 11, 2021
1 parent 1e4fde1 commit 4b72b1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/lifecycle_test/util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ mixin LifecycleTestHelper on Component {
'context': context,
});

var lifecycleCallback = props == null ? staticProps == null ? null : staticProps[memberName] : props[memberName];
var lifecycleCallback = props == null
? staticProps == null
? null
: staticProps[memberName]
: props[memberName];
if (lifecycleCallback != null) {
return Function.apply(
lifecycleCallback,
Expand Down

0 comments on commit 4b72b1f

Please sign in to comment.