Report class

Represents a trace file, that is a coverage report.

Annotations
  • @JsonSerializable(createFactory: false, explicitToJson: true)

Constructors

Report.new([String testName = "", Iterable<Record>? records])
Creates a new report.
Report.fromCoverage(String coverage)
Parses the specified coverage data in LCOV format. Throws a LcovException if a parsing error occurred.

Properties

hashCode int
The hash code for this object.
no setterinherited
records List<Record?>
The record list.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testName String
The test name.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this object to a Map in JSON format.
toString() String
Returns a string representation of this object.
override

Operators

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