LeaksDoctor class

泄漏检测

Constructors

LeaksDoctor()
factory

Properties

getBuildContext GetBuildContext?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onEventStream Stream<LeaksDoctorEvent>
no setter
onLeakedStream Stream<LeaksMsgInfo?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addObserved(Object obj, {String group = 'manual', int? expectedTotalCount, String? className}) → void
init(BuildContext func()?, {int maxRetainingPathLimit = 300}) → void
memoryLeakScan({String? group, int delay = 0}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showLeaksPage(LeaksDoctorEvent event) → void
showLeaksPageWhenClick() → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

add(LeaksMsgInfo info) → void
clear() → void
getAll() List<LeaksMsgInfo>
isEmpty() bool