gg_capture_print library

Functions

capturePrint({void ggLog(String)?, required FutureOr<void> code()}) FutureOr<List<String>>
Captures the print statements and forwards them to the log function.
hasLog(List<String> logMessages, Pattern log) bool
Returns true if the log is found in the log messages.