EE
поставил в студии галочку
Scope analysis to the current package
и всё билдиться
Size: a a a
EE
Scope analysis to the current package
SS
EE
SS
VA
Scope analysis to the current package
EE
SS
VA
SS
SD
SD
SD
SD
OR
int score = arr.reduce((bool i, int s) {
if (i) return s + 1;
return s;
});
A value of type 'bool' can't be assigned to a variable of type 'int'.ND
int score = arr.reduce((bool i, int s) {
if (i) return s + 1;
return s;
});
A value of type 'bool' can't be assigned to a variable of type 'int'.foldOR
foldND
where((i)=>i).lengthND
ND

RV