RulesDartavoid-unnecessary-conditionalsEn esta páginaavoid-unnecessary-conditionalsadded in: 1.0.0 warningChecks for unnecessary conditional expressions.ExampleBad:bool baz() => foo ? true : false; // LINTbool bar() => foo ? false : true; // LINTGood:bool baz() => foo;bool bar() => !foo;