FunctionData class

Provides details for function coverage.

Annotations

Constructors

FunctionData(String functionName, int lineNumber, {int executionCount: 0})
Creates a new function data.

Properties

executionCount int
The execution count.
@JsonKey(defaultValue: 0), read / write
functionName String
The function name.
@JsonKey(defaultValue: ""), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lineNumber int
The line number of the function start.
@JsonKey(defaultValue: 0), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Converts this object to a Map in JSON format.
toString({bool asDefinition: false}) String
Returns a string representation of this object. [...]
override

Operators

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