startRecording method
Begins a recording session.
timeWindow caps how much of the recent API history is retained.
When null, the entire session is kept in memory.
loggingEnabled prints recorded calls to logs.
compressed gzips the output of stopRecording.
Implementation
Future<void> startRecording({
Duration? timeWindow,
bool loggingEnabled = false,
bool compressed = false,
}) => _impl.startRecording(
timeWindow: timeWindow?.inMilliseconds,
loggingEnabled: loggingEnabled,
compressed: compressed,
);