ProfileFunction class

A ProfileFunction contains profiling information about a Dart or native function.

See CpuSamples.

Constructors

ProfileFunction({String? kind, int? inclusiveTicks, int? exclusiveTicks, String? resolvedUrl, dynamic function})

Properties

exclusiveTicks int?
The number of times function appeared on the top of the stack during sampling events.
getter/setter pair
function ↔ dynamic
The function captured during profiling.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inclusiveTicks int?
The number of times function appeared on the stack during sampling events.
getter/setter pair
kind String?
The kind of function this object represents.
getter/setter pair
resolvedUrl String?
The resolved URL for the script containing function.
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>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

parse(Map<String, dynamic>? json) ProfileFunction?