LeakReport class

Leak information for troubleshooting.

Constructors

LeakReport({required String trackedClass, required Map<String, dynamic>? context, required int code, required String type, required String? phase})
LeakReport.fromJson(Map<String, dynamic> json)
factory

Properties

code → int
identityHashCode of the object.
final
context → Map<String, dynamic>?
Information about the leak that can help in troubleshooting.
final
detailedPath ↔ List<String>?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
phase → String?
final
retainingPath ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trackedClass → String
Full name of class, the leak tracking is defined for.
final
type → String
Runtime type of the object.
final

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.
inherited
toYaml(String indent, {required bool phasesAreTests}) → String

Operators

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

Static Methods

iterableToYaml(String title, Iterable<LeakReport>? leaks, {String indent = '', required bool phasesAreTests}) → String