PrettyPrintFormatter class

Converts the given hitmap to a pretty-print format and appends the result to env.output.

Returns a Future that completes as soon as all map entries have been emitted.

Implemented types
Annotations
  • @Deprecated('Migrate to FileHitMapsFormatter.prettyPrint')

Constructors

PrettyPrintFormatter(Resolver resolver, Loader loader, {List<String>? reportOn, bool reportFuncs = false})
Creates a pretty-print formatter.

Properties

hashCode int
The hash code for this object.
no setterinherited
loader Loader
final
reportFuncs bool
final
reportOn List<String>?
final
resolver Resolver
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

format(Map<String, Map<int, int>> hitmap) Future<String>
Returns the formatted coverage data.
override
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