LeaksCallback typedef
Handler to collect leak information.
This is used by LeakTrackingTestConfig.onLeaks in
package:leak_tracker_flutter_testing.
The parameter leaks contains details about found leaks.
Implementation
typedef LeaksCallback = void Function(Leaks leaks);