HitmapReader class

Component used to read hitmaps created by the dart test coverage option

Constructors

HitmapReader()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromDirectory(Directory coverageOutputDir) Future<Map<String, Map<int, int>>>
Reads all coverage files (files ending with _test.dart.vm.json) and creates a hitmap merging all of the individual hitmaps
fromFile(File coverageFile) Future<Map<String, Map<int, int>>>
Reads a file and creates a hitmap out of if
fromString(String coverageContent) Future<Map<String, Map<int, int>>>
Creates a hitmap out of a given String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited