overrideAnsiOutput<T> function
Allows overriding ansiOutputEnabled to enableAnsiOutput
for the code run
within body
.
Implementation
T overrideAnsiOutput<T>(bool enableAnsiOutput, T Function() body) =>
runZoned(body, zoneValues: <Object, Object>{AnsiCode: enableAnsiOutput});