format method

  1. @override
Future<String> format(
  1. Map<String, Map<int, int>> hitmap
)
override

Returns the formatted coverage data.

Implementation

@override
Future<String> format(Map<String, Map<int, int>> hitmap) {
  return Future.value(hitmap
      .map((key, value) => MapEntry(key, HitMap(value)))
      .formatLcov(resolver, basePath: basePath, reportOn: reportOn));
}