informationCollector property Null safety

InformationCollector? informationCollector

A callback which, when called with a StringBuffer will write to that buffer information that could help with debugging the problem.

Information collector callbacks can be expensive, so the generated information should be cached, rather than the callback being called multiple times.

The text written to the information argument may contain newlines but should not end with a newline.


final InformationCollector? informationCollector;