analyze static method
Future<void>
analyze(
{ - int concurrent = defaultConcurrent,
})
Implementation
static Future<void> analyze({int concurrent = defaultConcurrent}) => execute(
['${FlutterHelper.getCommandFlutter()} analyze . --no-pub'],
concurrent: concurrent,
stdout: (line) {
if (line.isEmpty) return;
if (line.contains(RegExp(r'error'))) {
printerr(red(line));
}
if (line.contains(RegExp(r'info'))) {
printerr(blue(line));
}
if (line.contains(RegExp(r'warning'))) {
printerr(orange(line));
}
},
);