FunctionData class

Provides details for function coverage.

Annotations
  • @JsonSerializable.new(createFactory: false)

Constructors

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

Properties

executionCount ↔ int
The execution count.
getter/setter pair
functionName ↔ String
The function name.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
lineNumber ↔ int
The line number of the function start.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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({bool asDefinition = false}) → String
Returns a string representation of this object.
override

Operators

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