coverage static method

Future<void> coverage({
  1. int concurrent = defaultConcurrent,
})

Implementation

static Future<void> coverage({int concurrent = defaultConcurrent}) => execute(
      ['${FlutterHelper.getCommandFlutter()} test --coverage --no-pub'],
      concurrent: concurrent,
      stdout: (line) {
        if (line.isEmpty || line.contains(RegExp(r'\d{2}:\d{2}'))) return;
        print(red(line));
      },
    );