saveMocksToFile method
Saves all mocks to a file in the NetLens mocks JSON format and shares it. Sensitive request headers are masked.
Implementation
Future<NetLensExportResult> saveMocksToFile() =>
NetLensExportHelper.saveMocksToFile(
mocks.export(mocks: _getRedactedMocks()),
);