BranchData class

Provides details for branch coverage.

Annotations
  • @JsonSerializable(createFactory: false)

Constructors

BranchData(int lineNumber, int blockNumber, int branchNumber, {int taken = 0})
Creates a new branch data.

Properties

blockNumber int
The block number.
getter/setter pair
branchNumber int
The branch number.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lineNumber int
The line number.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taken int
A number indicating how often this branch was taken.
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