ProfileFunction class Null safety

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.
read / write
function ↔ dynamic
The function captured during profiling.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
inclusiveTicks int?
The number of times function appeared on the stack during sampling events.
read / write
kind String?
The kind of function this object represents.
read / write
resolvedUrl String?
The resolved URL for the script containing function.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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?